1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00
django/tests
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
..
modeltests Fixed #8669 -- Use a consistent version of create() across the board for 2008-09-03 00:09:33 +00:00
regressiontests Fixed Queryset.dates() in the presence of extra-select columns. 2008-09-28 04:36:10 +00:00
templates Fixed #7602 -- Corrected lookup keyword arguments in archive_month and archive_week to properly range when date_field is from DateField. Thanks nullie for the original patch and Colin Grady for the test coverage. 2008-08-23 04:46:33 +00:00
runtests.py Removed the need for ROOT_URLCONF in settings when running Django's core tests 2008-08-30 05:09:03 +00:00
urls.py Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00