mirror of
https://github.com/Hopiu/django.git
synced 2026-05-22 05:51:59 +00:00
parent
5d7217dce3
commit
aa8ee6a573
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection):
|
|||
|
||||
relations = {}
|
||||
for row in cursor.fetchall():
|
||||
relations[row[0]] = (row[2], row[1].lower())
|
||||
relations[row[0].lower()] = (row[2].lower(), row[1].lower())
|
||||
return relations
|
||||
|
||||
def get_key_columns(self, cursor, table_name):
|
||||
|
|
|
|||
Loading…
Reference in a new issue