#20705: Allow customizing the email field name for PasswordResetForm
------------------------------+------------------------------------
Reporter: Cloudream | Owner: nobody
Type: New feature | Status: new
Component: contrib.auth | Version: master
Severity: Normal | 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 timo):
This isn't about renaming the form field, but rather not assuming the
"email" field on the `UserModel` is called "email". We could accomplish
this on `PasswordResetForm` by passing in a parameter to the `save` method
with the name of the field, but it would be better to get an idea of the
"other customized user model functions" the OP had in mind to better
determine the feasibility and design of this.
--
Ticket URL: <https://code.djangoproject.com/ticket/20705#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/067.2a60e9d3613ca759097c800a1be99e1e%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.