diff options
| author | Hynek Cernoch <hynek@sdb.cz> | 2015-09-17 21:02:14 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-18 09:32:36 -0400 |
| commit | 4b9d063da05faa112577a4e3cefd020850a25e9e (patch) | |
| tree | 4461d3bc73d8de9af1316835a96afc3d0e6f2e74 | |
| parent | d074926ca12cbf1e5852af5fe91f8d4e750905b3 (diff) | |
Refs #17785 -- Made docstring for sqlite3's get_relations() consistent with other backends.
| -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 1b84d12ac5..5440b171d5 100644 --- a/django/db/backends/sqlite3/introspection.py +++ b/django/db/backends/sqlite3/introspection.py @@ -100,10 +100,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 = {} |
