diff options
| author | Alex Hill <alex@hill.net.au> | 2013-12-13 14:04:28 +0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-06 08:41:34 -0400 |
| commit | 938da36cb12c07c93a44bb1b77984427e809d213 (patch) | |
| tree | 63900d2347837b6d432139344ca2bd911e8f4287 /django/db/backends/__init__.py | |
| parent | edcc75e5ac5b9dc2f174580e7adacd3be586f8bd (diff) | |
Fixed #21603 -- Fixed complex RawQuerySets queries on some versions of SQLite.
Diffstat (limited to 'django/db/backends/__init__.py')
| -rw-r--r-- | django/db/backends/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py index aa0191b068..855b6fdec1 100644 --- a/django/db/backends/__init__.py +++ b/django/db/backends/__init__.py @@ -1267,6 +1267,14 @@ class BaseDatabaseIntrospection(object): """ return name + def column_name_converter(self, name): + """ + Apply a conversion to the column name for the purposes of comparison. + + Uses table_name_converter() by default. + """ + return self.table_name_converter(name) + def table_names(self, cursor=None): """ Returns a list of names of all tables that exist in the database. |
