#22889: Proper handling of to_field in deconstruct for AUTH_USER_MODEL foreign
key
-------------------------------------+-------------------------------------
Reporter: timo | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version:
Component: Migrations | 1.7-beta-2
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"68b89f4d13b69771b232c1fcb0fb598000b6eb98"]:
{{{
#!CommitTicketReference repository=""
revision="68b89f4d13b69771b232c1fcb0fb598000b6eb98"
[1.7.x] Removed 'to_field' from ForeignKey(settings.AUTH_USER_MODEL) in
admin's initial migration.
This enables using a custom user model with a primary key with a name
different than 'id'; refs #22889.
Backport of bcd2e6c697 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22889#comment:1>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.060ff7f6ad25cb3c172aad92b8731cc7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.