Commit 21f5dc46 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

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
parent 4858a8d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1

File changed.

Contains only whitespace changes.