mirror of
https://github.com/django/django.git
synced 2025-01-22 00:02:15 +00:00
parent
5d7217dce3
commit
aa8ee6a573
@ -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…
x
Reference in New Issue
Block a user