#35359: Got `django.core.exceptions.FieldError` when adding GeneratedField -------------------------------------+------------------------------------- Reporter: wd0517 | Owner: Bhuvnesh Type: Bug | Status: closed Component: Migrations | Version: 5.0 Severity: Release blocker | Resolution: fixed Keywords: GeneratedField | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Natalia <124304+nessita@…>):
In [changeset:"24f54c3b09ab4f19bfc11c5d7ba80985ed870103" 24f54c3]: {{{#!CommitTicketReference repository="" revision="24f54c3b09ab4f19bfc11c5d7ba80985ed870103" [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. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35359#comment:12> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018f3c0019c9-a7807879-60c7-4122-922c-83aac3ea8e82-000000%40eu-central-1.amazonses.com.