1
0
mirror of https://github.com/django/django.git synced 2024-11-19 16:04:13 +00:00
django/django/db
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
..
backends Fixed #9113 -- Improved exception message reporting when importing sqlite3 fails. 2008-09-17 07:23:17 +00:00
models Fixed Queryset.dates() in the presence of extra-select columns. 2008-09-28 04:36:10 +00:00
__init__.py Fixed #8238 -- If an invalid database backend is mentioned in settings and the 2008-08-17 17:32:31 +00:00
transaction.py Fixed #7241 -- More robust exception catching in the transaction management 2008-08-17 00:07:06 +00:00