Skip to content

Commit

Permalink
column_name_converter() defaults to table_name_converter()
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHill committed Aug 5, 2014
1 parent 587f842 commit c1c165f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion django/db/backends/__init__.py
Expand Up @@ -1247,7 +1247,7 @@ def column_name_converter(self, name):
The default column name converter is for case sensitive comparison.
"""
return name
return self.table_name_converter(name)

def table_names(self, cursor=None):
"""
Expand Down
4 changes: 0 additions & 4 deletions django/db/backends/oracle/introspection.py
Expand Up @@ -61,10 +61,6 @@ def table_name_converter(self, name):
"Table name comparison is case insensitive under Oracle"
return name.lower()

def column_name_converter(self, name):
"Column name comparison is case insensitive under Oracle"
return name.lower()

def _name_to_index(self, cursor, table_name):
"""
Returns a dictionary of {field_name: field_index} for the given table.
Expand Down

0 comments on commit c1c165f

Please sign in to comment.