#30868: ForeignKey's to_field parameter gets the old field's name when renaming
a
PrimaryKey.
-------------------------------------+-------------------------------------
Reporter: Carlos E. C. Leite | Owner: Simon
| Charette
Type: Bug | Status: closed
Component: Migrations | Version: master
Severity: Normal | Resolution: fixed
Keywords: migration | Triage Stage: Accepted
renamefield to_field |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Harro):
Should this be backported to the 2.x branch too?
Seems the same issue is there.
--
Ticket URL: <https://code.djangoproject.com/ticket/30868#comment:6>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.a565c7b061e2db8749b9600e992cfc34%40djangoproject.com.