#29449: Regression in UserCreationForm (and UserChangeForm) for custom user
models
-------------------------------------+-------------------------------------
Reporter: Sławek Ehlert | Owner: nobody
Type: Bug | Status: new
Component: contrib.auth | Version: 2.1
Severity: Release blocker | Resolution:
Keywords: auth forms | Triage Stage: Accepted
UserCreationForm UserChangeForm |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Markus Holtermann):
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
Comment:
I can confirm this.
Using something like
`UserModel._meta.get_field(UserModel.USERNAME_FIELD).formfield()` to
derive the form field for a the current username field _may_ make sense.
However, this won't work with the normalization we currently do in the
form's `UsernameField`.
--
Ticket URL: <https://code.djangoproject.com/ticket/29449#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/063.2cd59dca8f788b3a4071e7e4ec0baf13%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.