diff options
| author | Tim Graham <timograham@gmail.com> | 2021-11-10 00:21:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-10 06:21:36 +0100 |
| commit | afea68ca51c20b726d3b97aaffdfe4e3b632e435 (patch) | |
| tree | cc7dde720eeb082200b3124425e6fad2934ef354 /django/db/backends/sqlite3 | |
| parent | 6bc437c0d82675ebe6aa92c8e249892205c316ef (diff) | |
Fixed DatabaseIntrospection.get_relations() docstring.
The foreign keys are "in" the given table, not "to" it.
Diffstat (limited to 'django/db/backends/sqlite3')
| -rw-r--r-- | django/db/backends/sqlite3/introspection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/sqlite3/introspection.py b/django/db/backends/sqlite3/introspection.py index ce097dbd72..f1f33579b9 100644 --- a/django/db/backends/sqlite3/introspection.py +++ b/django/db/backends/sqlite3/introspection.py @@ -115,7 +115,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection): def get_relations(self, cursor, table_name): """ Return a dictionary of {field_name: (field_name_other_table, other_table)} - representing all relationships to the given table. + representing all foreign keys in the given table. """ # Dictionary of relations to return relations = {} |
