mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
[5.0.x] 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.
Backport of d048f0d311 from main.
This commit is contained in:
committed by
Sarah Boyce
parent
10efefcb28
commit
9d79714e25
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user