Re: [Django] #34824: Migrations generates two records when ForeignObject.to_fields/from_fields is not a tuple.

4 views
Skip to first unread message

Django

unread,
Sep 11, 2023, 2:47:31 AM9/11/23
to django-...@googlegroups.com
#34824: Migrations generates two records when ForeignObject.to_fields/from_fields
is not a tuple.
-------------------------------------+-------------------------------------
Reporter: puc_dong | Owner: puc_dong
Type: | Status: assigned
Cleanup/optimization |
Component: Migrations | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/34824#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 11, 2023, 3:31:14 AM9/11/23
to django-...@googlegroups.com
#34824: Migrations generates two records when ForeignObject.to_fields/from_fields
is not a tuple.
-------------------------------------+-------------------------------------
Reporter: puc_dong | Owner: puc_dong
Type: | Status: closed

Cleanup/optimization |
Component: Migrations | Version: 4.2
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"938170008ea48dff8f89b0839998a1eec939ddf4" 9381700]:
{{{
#!CommitTicketReference repository=""
revision="938170008ea48dff8f89b0839998a1eec939ddf4"
Fixed #34824 -- Prevented unnecessary AlterField when
ForeignObject.from_fields/to_fields is not a tuple.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34824#comment:4>

Reply all
Reply to author
Forward
0 new messages