django1/django/db/models
Malcolm Tredinnick 1834428648 Fixed a problem with values() and values_list() queries and nullable joins.
Previously, if we were querying across a nullable join and then a non-nullable
one, the second join would not be a LEFT OUTER join, which would exclude
certain valid results from the result set.

This is the same problem as [7597] but for values() field specifications, so
this covers the second case where Django adds extra stuff to the select-clause.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 01:01:21 +00:00
..
fields Fixed #7420 -- Abstracted some more database options into DatabaseFeatures -- supports_usecs, time_field_needs_date, interprets_empty_strings_as_nulls and date_field_supports_time_value -- and changed various hard-coded 'if DATABASE_BACKEND == oracle' statements to use the new options. Thanks to ramiro for the patch 2008-06-16 03:15:04 +00:00
sql Fixed a problem with values() and values_list() queries and nullable joins. 2008-06-26 01:01:21 +00:00
__init__.py Added the small changes necessary to make creating custom model fields easier. 2007-11-05 13:59:42 +00:00
base.py Fixed bug with Model.delete() which did not always delete objects in the right order. 2008-06-21 20:57:05 +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 Fixed #5444 -- Changed manipulator class construction to use type(), rather than types.ClassType(). Helps with Jython compatibility. Patch from Leo Soto. 2007-09-15 11:06:32 +00:00
options.py Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems: 2008-06-09 14:03:35 +00:00
query.py Fixed #7155 -- Corrected DateQuerySet to handle nullable fields. Thanks to fcaprioli@alice.it for the original report and patch, and to Jeremy Dunck for the test case. 2008-06-25 13:38:06 +00:00
query_utils.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +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