From d048f0d311cc9cb9578d687968f2d24a0a9efddb Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Tue, 16 Apr 2024 00:11:36 -0400 Subject: 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. --- docs/releases/5.0.5.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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`). -- cgit v1.3