Ticket #11218: 11218.patch
File 11218.patch, 539 bytes (added by , 15 years ago) |
---|
-
django/db/models/sql/query.py
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index 394e30b..cc8c264 100644
a b class BaseQuery(object): 2362 2362 return cursor 2363 2363 if result_type == SINGLE: 2364 2364 if self.ordering_aliases: 2365 return cursor.fetchone()[:-len( results.ordering_aliases)]2365 return cursor.fetchone()[:-len(self.ordering_aliases)] 2366 2366 return cursor.fetchone() 2367 2367 2368 2368 # The MULTI case.