mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
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.
This commit is contained in:
parent
5f18021640
commit
888b9042b3
4 changed files with 62 additions and 13 deletions
|
@ -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`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue