summaryrefslogtreecommitdiff
path: root/tests/modeltests/basic/tests.py
AgeCommit message (Collapse)Author
2013-02-23[1.5.x] Fixed #19895 -- Made second iteration over invalid queryset raise an ↵Grzegorz Nosek
exception too When iteration over a queryset raised an exception, the result cache remained initialized with an empty list, so subsequent iterations returned an empty list instead of raising an exception Backport of 2cd0edaa477b327024e4007c8eaf46646dcd0f21 from master.
2013-01-08[1.5.x] Updated deprecated test assertionsClaude Paroz
2012-11-02[1.5.X] Fixed #15361 - Documented performance considerations for QuerySet.get()Tim Graham
Thanks mmcnickle for the patch. Backport of feaf9f279a from master
2012-10-26[1.5.x] Avoid dependence on exact Python exception messagesIan Clelland
Backport of a8bbae517963d7cc489fb35e51288e4f0efd8207 from master
2012-09-07[py3k] Silence many warnings while running the tests.Alex Gaynor
2012-07-22[py3] Removed longs.Aymeric Augustin
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.
2012-05-07Made model fields comparable to other objectsSimon Charette
Fixed #17851 -- Added __lt__ and @total_ordering to models.Field, made sure these work correctly on other objects than Field, too.
2012-04-29Fixed #18013 -- Use the new 'as' syntax for exceptions.Claude Paroz
Thanks Clueless for the initial patch. Note that unittest has been purposely left out (external package only used by Python 2.6).
2012-04-20Fixed #10494 -- Added kwargs to QuerySet.get() error message in the case no ↵Anssi Kääriäinen
objects were found. Thanks brondsem for the report, Szymon Pyzalski for the patch and oinopion for review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-13Fixed #10498 (again) -- Made sure the improvements done in r17641 have a ↵Jannis Leidel
smaller impact on speed. Thanks to Anssi Kääriäinen for the patch and Jonas Obrist for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Convert all modeltests to use absolute imports, rather than relative ones.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for ↵Jannis Leidel
the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02Migrated basic doctests. Thanks to Preston Timmons for the patch.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14421 bcc190cf-cafb-0310-a4f2-bffc1f526a37