summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDevilsAutumn <bhuvnesh875@gmail.com>2024-04-12 20:01:41 +0530
committerNatalia <124304+nessita@users.noreply.github.com>2024-05-02 21:54:52 -0300
commit24f54c3b09ab4f19bfc11c5d7ba80985ed870103 (patch)
tree41f3d8c449ffb882b2fbca22fa8565d5f748394e /docs
parentfa202d5cb1f16b9bbfd9da72eb03125fabc34bb8 (diff)
[5.0.x] Fixed #35359 -- Fixed migration operations ordering when adding fields referenced by GeneratedField.expression.
Thank you to Simon Charette for the review. Backport of 9aeb38c296c69532c7e64b5e3d706a5eb17b3f12 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 8836b86131..5421cc9fec 100644
--- a/docs/releases/5.0.5.txt
+++ b/docs/releases/5.0.5.txt
@@ -23,3 +23,7 @@ Bugfixes
* Allowed importing ``aprefetch_related_objects`` from ``django.db.models``
(:ticket:`35392`).
+
+* 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`).