diff options
| author | Simon Charette <charette.s@gmail.com> | 2024-04-16 00:11:36 -0400 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-04-16 17:27:38 +0200 |
| commit | d048f0d311cc9cb9578d687968f2d24a0a9efddb (patch) | |
| tree | d18eca06a26cab47a3e8a2b345c6d02412951f4f /docs | |
| parent | 47c608202a58c8120d049c98d5d27c4609551d33 (diff) | |
Fixed #35373 -- Fixed a crash when indexing a generated field on SQLite.
Generated fields have to be excluded from the INSERT query against the remade
table including the index.
Thanks Moshe Dicker for the report, David Sanders and Mariusz Felisiak for the
review.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.5.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.0.5.txt b/docs/releases/5.0.5.txt index f8b66a5999..788753c826 100644 --- a/docs/releases/5.0.5.txt +++ b/docs/releases/5.0.5.txt @@ -16,3 +16,7 @@ Bugfixes * Fixed a compatibility issue encountered in Python 3.11.9+ and 3.12.3+ when validating email max line lengths with content decoded using the ``surrogateescape`` error handling scheme (:ticket:`35361`). + +* Fixed a bug in Django 5.0 that caused a crash when applying migrations + including alterations to ``GeneratedField`` such as setting ``db_index=True`` + on SQLite (:ticket:`35373`). |
