summaryrefslogtreecommitdiff
path: root/django/db/models/sql
diff options
context:
space:
mode:
authorAlex Hill <alex@hill.net.au>2013-12-13 14:04:28 +0800
committerTim Graham <timograham@gmail.com>2014-08-06 08:41:34 -0400
commit938da36cb12c07c93a44bb1b77984427e809d213 (patch)
tree63900d2347837b6d432139344ca2bd911e8f4287 /django/db/models/sql
parentedcc75e5ac5b9dc2f174580e7adacd3be586f8bd (diff)
Fixed #21603 -- Fixed complex RawQuerySets queries on some versions of SQLite.
Diffstat (limited to 'django/db/models/sql')
-rw-r--r--django/db/models/sql/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py
index c03d782440..89fba2b56a 100644
--- a/django/db/models/sql/query.py
+++ b/django/db/models/sql/query.py
@@ -66,7 +66,7 @@ class RawQuery(object):
def get_columns(self):
if self.cursor is None:
self._execute_query()
- converter = connections[self.using].introspection.table_name_converter
+ converter = connections[self.using].introspection.column_name_converter
return [converter(column_meta[0])
for column_meta in self.cursor.description]