#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 susan):
I've been reading this doc for context + background:
https://docs.djangoproject.com/en/1.5/topics/auth/default/#django.contrib.auth.forms.PasswordResetForm
It seems that I'll need to edit the PasswordResetForm class method located
in `contrib.auth.forms`. In particular, L27 might needed to be changed:
"email = forms.EmailField(label=_("Email"), max_length=254)"
Is there an existing similar example that I can follow? I've done a global
search on USERNAME_FIELD, which returned a lot of results; I'm not sure
which are the relevant files to look at.
--
Ticket URL: <https://code.djangoproject.com/ticket/20705#comment:3>
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.202749c68aa5a66349049d9d5975f328%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.