diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/db/backends/sqlite3/introspection.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/django/db/backends/sqlite3/introspection.py b/django/db/backends/sqlite3/introspection.py index c80248939d..26410152be 100644 --- a/django/db/backends/sqlite3/introspection.py +++ b/django/db/backends/sqlite3/introspection.py @@ -88,10 +88,9 @@ class DatabaseIntrospection(BaseDatabaseIntrospection): def get_relations(self, cursor, table_name): """ - Returns a dictionary of {field_index: (field_index_other_table, other_table)} - representing all relationships to the given table. Indexes are 0-based. + Return a dictionary of {field_name: (field_name_other_table, other_table)} + representing all relationships to the given table. """ - # Dictionary of relations to return relations = {} |
