diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-05-02 20:31:51 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-05-03 09:32:31 +0200 |
| commit | c544f1a2237fd18a1e00fef8cbcd1cf7eccd5eb9 (patch) | |
| tree | a58094529b6ebc113fd2a051b863b0256598f107 /docs | |
| parent | 24f54c3b09ab4f19bfc11c5d7ba80985ed870103 (diff) | |
[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 91a4b9a8ec2237434f06866f39c7977e889aeae6 from main.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.5.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/5.0.5.txt b/docs/releases/5.0.5.txt index 5421cc9fec..c12498173d 100644 --- a/docs/releases/5.0.5.txt +++ b/docs/releases/5.0.5.txt @@ -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`). |
