#19354: Unable to set PK for custom user model
-------------------------------------+-------------------------------------
     Reporter:  markteisman@…        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  contrib.auth         |                  Version:
     Severity:  Normal               |  1.5-alpha-1
     Keywords:  PK Primary Key       |               Resolution:
  Custom User                        |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by claudep):

 * has_patch:  0 => 1


Comment:

 You are right in that as long as the user model is no longer under our
 control, it is a mistake to assume `id == pk`. Attached a patch with
 proposed updates.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19354#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to