django1/django/db/models
Malcolm Tredinnick a7b556ca04 Allow for matches against unsaved objects in querysets (which will therefore
match nothing). This allows for some more straightforward code in the admin
interface.

Fixed #7488 (all the debugging there was done by Brian Rosner, who narrowed it
down to the item in this patch).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 06:12:15 +00:00
..
fields To ensure that a model BooleanField has an explicit value set (and since it's 2008-07-22 04:49:32 +00:00
sql Allow for matches against unsaved objects in querysets (which will therefore 2008-07-23 06:12:15 +00:00
__init__.py Fixed #7847 -- Removed a whole bunch of unused imports from throughout the codebase. Thanks, julien 2008-07-22 03:24:09 +00:00
base.py Fixed #7847 -- Removed a whole bunch of unused imports from throughout the codebase. Thanks, julien 2008-07-22 03:24:09 +00:00
loading.py Added tests for corner case with deleting where objects are deleted in the wrong order. 2008-06-21 20:55:17 +00:00
manager.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
manipulators.py Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
options.py Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
query.py Fixed #7759 -- Fixed QuerySet.count() when the results cache was only partially 2008-07-16 23:17:29 +00:00
query_utils.py Factored out a semi-complex if-test that was used in two places. 2008-06-29 09:40:17 +00:00
related.py An improved version of the change attempted in [4693]: retain backwards 2007-03-10 07:37:08 +00:00
signals.py MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. 2006-05-02 01:31:56 +00:00