#27111: UserCreationForm.__init__() crashes if USERNAME_FIELD not in self.fields
-------------------------------------+-------------------------------------
     Reporter:  petercampbell        |                    Owner:
                                     |  berkerpeksag
         Type:  Bug                  |                   Status:  closed
    Component:  Forms                |                  Version:  1.10
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  custom user, django  |             Triage Stage:  Accepted
  admin, UserCreationForm            |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"c4ee93128f1880c3993cf07619ff4e0524920a8e" c4ee9312]:
 {{{
 #!CommitTicketReference repository=""
 revision="c4ee93128f1880c3993cf07619ff4e0524920a8e"
 [1.10.x] Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in
 UserCreationForm.fields.

 Backport of 3c18f8a3d2f61669493f9ff2015ddc027eada3d6 from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27111#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 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/071.10fc8052a729d645e68d748dce3b1615%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to