summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2024-04-16 00:11:36 -0400
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-04-16 17:31:22 +0200
commit9d79714e25911dbc768ba4b71e5f838ee0688edc (patch)
tree67cb08b0b67b9b91378e08bf4cced12a6cdb73ef /docs
parent10efefcb284ce1fca5779be5f1fde90880423064 (diff)
[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 d048f0d311cc9cb9578d687968f2d24a0a9efddb from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.0.5.txt4
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`).