diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-08-29 09:55:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-29 09:55:45 +0200 |
| commit | 4483a9b12f295908e68b82d6599f460de943444f (patch) | |
| tree | 6282a87d7cd7bba8e761b740ea7d4ff40fe7c719 /django/db/backends/sqlite3/base.py | |
| parent | f210de760b06cd57ff37b416e2bf9eafb0bfe929 (diff) | |
Fixed #33960 -- Fixed migrations crash on SQLite < 3.26.
Regression in 0b95a96ee10d3e12aef01d449467bcf4641286b4.
Thanks Aristotelis Mikropoulos for the report.
Diffstat (limited to 'django/db/backends/sqlite3/base.py')
| -rw-r--r-- | django/db/backends/sqlite3/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py index f495ff39a1..feae360567 100644 --- a/django/db/backends/sqlite3/base.py +++ b/django/db/backends/sqlite3/base.py @@ -301,7 +301,7 @@ class DatabaseWrapper(BaseDatabaseWrapper): for column_name, ( referenced_column_name, referenced_table_name, - ) in relations: + ) in relations.items(): cursor.execute( """ SELECT REFERRING.`%s`, REFERRING.`%s` FROM `%s` as REFERRING |
