summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2024-04-02 16:33:31 -0400
committerGitHub <noreply@github.com>2024-04-02 17:33:31 -0300
commit888b9042b3598bab6557c62de82505eec9ea62ed (patch)
tree8c1acbee4041c8fbedd487b77a4d5ebd36104ee9 /docs
parent5f180216409d75290478c71ddb0ff8a68c91dc16 (diff)
Fixed #35336 -- Addressed crash when adding a GeneratedField with % literals.
A longer term solution is likely to have a better separation of parametrized DDL altogether to handle checks, constraints, defaults, and generated fields but such a change would require a significant refactor that isn't suitable for a backport. Thanks Adrian Garcia for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.0.4.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.0.4.txt b/docs/releases/5.0.4.txt
index 6872d5998a..6b922b09c0 100644
--- a/docs/releases/5.0.4.txt
+++ b/docs/releases/5.0.4.txt
@@ -24,3 +24,7 @@ Bugfixes
* Fixed a crash in Django 5.0 when performing queries involving table aliases
and lookups on a ``GeneratedField`` of the aliased table (:ticket:`35344`).
+
+* Fixed a bug in Django 5.0 that caused a migration crash when adding a
+ ``GeneratedField`` relying on the ``__contains`` or ``__icontains``
+ lookups or using a ``Value`` containing a ``"%"`` (:ticket:`35336`).