mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
[5.0.x] Fixed #35422 -- Fixed migrations crash when altering GeneratedField referencing rename field.
Thanks Sarah Boyce for the report and Simon Charette for the
implementation idea.
Backport of 91a4b9a8ec from main.
This commit is contained in:
committed by
Sarah Boyce
parent
24f54c3b09
commit
c544f1a223
@@ -27,3 +27,6 @@ Bugfixes
|
||||
* Fixed a bug in Django 5.0 that caused a migration crash when a
|
||||
``GeneratedField`` was added before any of the referenced fields from its
|
||||
``expression`` definition (:ticket:`35359`).
|
||||
|
||||
* Fixed a bug in Django 5.0 that caused a migration crash when altering a
|
||||
``GeneratedField`` referencing a rename field (:ticket:`35422`).
|
||||
|
||||
Reference in New Issue
Block a user