django1/django/db/models/sql
Malcolm Tredinnick baa960209f Fixed Queryset.dates() in the presence of extra-select columns.
Any extra(select=...) columns can be ignored in the SQL for dates, since we are
only interested in extracting distinct date values. We were previously
including them by accident and it was generating incorrect SQL.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28 04:36:10 +00:00
..
__init__.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
constants.py Fixed #8439 -- Complex combinations of Q-objects (using both conjunctions and 2008-09-02 02:16:41 +00:00
datastructures.py Made it possible to pickle DateQuerySets. 2008-08-20 22:38:15 +00:00
query.py Fixed a missing variable initialisation deep in the Query bowels. 2008-09-22 00:31:22 +00:00
subqueries.py Fixed Queryset.dates() in the presence of extra-select columns. 2008-09-28 04:36:10 +00:00
where.py Allow for matches against unsaved objects in querysets (which will therefore 2008-07-23 06:12:15 +00:00