Re: [Django] #36754: Broken migration created when GeneratedField's expression references a foreign key that has been deferred to another initial migration file

2 views
Skip to first unread message

Django

unread,
Dec 3, 2025, 8:28:57 AM12/3/25
to django-...@googlegroups.com
#36754: Broken migration created when GeneratedField's expression references a
foreign key that has been deferred to another initial migration file
-------------------------------------+-------------------------------------
Reporter: Ou7law007 | Owner: Ou7law007
Type: Bug | Status: assigned
Component: Migrations | Version: 5.0
Severity: Normal | Resolution:
Keywords: autodetector | Triage Stage: Accepted
GeneratedField |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 0 => 1
* needs_tests: 1 => 0

Comment:

[https://github.com/django/django/pull/20363 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/36754#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages