diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-08-29 09:55:45 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-08-29 09:56:12 +0200 |
| commit | e98869a8a86e92982f8172418b5d79472ba18cfe (patch) | |
| tree | 72e8fdfc87f4174f0c6663680fae57531e471d0f /django | |
| parent | fca055315e9bb6cb1212953478dbe971b0bb47fb (diff) | |
[4.1.x] Fixed #33960 -- Fixed migrations crash on SQLite < 3.26.
Regression in 0b95a96ee10d3e12aef01d449467bcf4641286b4.
Thanks Aristotelis Mikropoulos for the report.
Backport of 4483a9b12f295908e68b82d6599f460de943444f from main
Diffstat (limited to 'django')
| -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 8ca076a1d9..e0c668402f 100644 --- a/django/db/backends/sqlite3/base.py +++ b/django/db/backends/sqlite3/base.py @@ -289,7 +289,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 |
