mirror of
https://github.com/django/django.git
synced 2025-03-10 17:32:41 +00:00
parent
5d7217dce3
commit
aa8ee6a573
@ -98,7 +98,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection):
|
|||||||
|
|
||||||
relations = {}
|
relations = {}
|
||||||
for row in cursor.fetchall():
|
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
|
return relations
|
||||||
|
|
||||||
def get_key_columns(self, cursor, table_name):
|
def get_key_columns(self, cursor, table_name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user