Fixed a bug in date queries with GIS backends introduced in [14715].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2010-12-01 17:53:22 +00:00
parent 4858a8d9f3
commit 21f5dc467e
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ class DateQuery(Query):
alias = result[3][-1]
select = Date((alias, field.column), lookup_type)
self.select = [select]
self.select_fields = []
self.select_fields = [None]
self.select_related = False # See #7097.
self.set_extra_mask([])
self.distinct = True