summaryrefslogtreecommitdiff
path: root/tests/regressiontests/model_regress/tests.py
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-02-25Fixed #18176 -- Added test for year lookups with year < 1000Florian Hahn
Thanks Tomas Ehrlich for the initial test
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-08-22Revert "Fixed #18063 -- Avoid unicode in Model.__repr__ in python 2"Simon Meers
This reverts commit 3fce0d2a9162cf6e749a6de0b18890dea8955e89.
2012-08-20Fixed #18063 -- Avoid unicode in Model.__repr__ in python 2Simon Meers
Thanks guettli and mrmachine.
2012-07-22[py3] Replaced unicode/str by six.text_type/bytes.Aymeric Augustin
2012-06-07Fixed #18432 -- Prevented the ForeignKey field from creating an invalid ↵Jann Kleen
query when chained. Thanks, Jann Kleen.
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
2011-11-13Fixed #13640: Avoid generating an exception when a model has an attribute ↵Karen Tracey
named 'evaluate'. Thanks LukaszKorzybski and tobias. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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-06-10Fixed #16196 - Redundant or incorrect code in testsLuke Plant
Thanks to intelliyole and melinath for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19Fixed a failing test caused by [14614].Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-18Converted the model_regress doctests into unittests. We have always been at ↵Alex Gaynor
war with doctests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-18Fixed pk uniqueness validation for new objects created outside of a ↵Carl Meyer
ModelForm. Also removed need for ModelForm to poke at Model._state.adding, keeping it an internal ORM concern. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07Fixed #10153: foreign key `gte` and `lte` lookups now work. Thanks, ↵Jacob Kaplan-Moss
joelhooks and adurdin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10692 bcc190cf-cafb-0310-a4f2-bffc1f526a37