From d5f4ce9849b062cc788988f2600359dc3c2890cb Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 21 Nov 2018 09:06:50 +0100 Subject: Fixed #29949 -- Refactored db introspection identifier converters. Removed DatabaseIntrospection.table_name_converter()/column_name_converter() and use instead DatabaseIntrospection.identifier_converter(). Removed DatabaseFeatures.uppercases_column_names. Thanks Tim Graham for the initial patch and review and Simon Charette for the review. --- django/db/models/sql/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/db/models/sql') diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index d924638b64..7d991b6b84 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -92,7 +92,7 @@ class RawQuery: def get_columns(self): if self.cursor is None: self._execute_query() - converter = connections[self.using].introspection.column_name_converter + converter = connections[self.using].introspection.identifier_converter return [converter(column_meta[0]) for column_meta in self.cursor.description] -- cgit v1.3