summaryrefslogtreecommitdiff
path: root/tests/regressiontests/m2m_regress
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-02-24Fixed the usage of the deprecated assertEquals.Florian Apolloner
2013-02-23Fixed #19816: pre-evaluate queryset on m2m setTomek Paczkowski
In ReverseManyRelatedObjectsDescriptor.__set__, evaluate possible queryset to avoid problems when clear() would touch data this queryset returns.
2012-12-13Fixed #19462 -- Made assertQuerysetEqual detect undefined orderingAnssi Kääriäinen
If there are more than one values to compare against and the qs isn't ordered then assertQuerysetEqual will raise a ValueError.
2012-11-04model_split: Fixed #19236 - fixed error for abstract models with a split methodMike Johnson
2012-09-07[py3k] Silence many warnings while running the tests.Alex Gaynor
2012-08-12[py3] Refactored __unicode__ to __str__.Aymeric Augustin
* Renamed the __unicode__ methods * Applied the python_2_unicode_compatible decorator * Removed the StrAndUnicode mix-in that is superseded by python_2_unicode_compatible * Kept the __unicode__ methods in classes that specifically test it under Python 2
2011-10-13Convert the remainder of the relative imports in the tests to be absolute ↵Alex Gaynor
imports. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-30Fixed #14270 - related manager classes should be cachedLuke Plant
Thanks to Alex Gaynor for the report and initial patch, and mrmachine for more work on it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14Fixed #14458 -- converted m2m_regress tests from doctests to unittests. We ↵Alex Gaynor
have always been at war with doctests. Thanks to Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-02Fixed #11956 -- Modified the handling of m2m relationships between ↵Russell Keith-Magee
subclasses. Thanks to nidi for the report, and astoneman for the suggestion on how to fix the problem. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-22Fixed #11226 -- Corrected an validation edge case with m2m relations between ↵Russell Keith-Magee
two models with the same class name. Thanks to pkoch for the report, and to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-15Fixed #11311 -- Reverted [10952], Refs #10785. Changeset [10952] caused ↵Russell Keith-Magee
problems with m2m relations between models that had non-integer primary keys. Thanks to Ronny for the report and test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-13Fixed #10237 -- Corrected the handling of self-referential m2m fields when ↵Russell Keith-Magee
using multi-table inheritance. Thanks to Justin Lilly for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30[8721] introduced some internal field names. We hide them from the list ofMalcolm Tredinnick
valid field names in debugging output so that it doesn't confuse things. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29Fixed #8279 -- Multiple many-to-many relations to "self" are now possible.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8721 bcc190cf-cafb-0310-a4f2-bffc1f526a37