Opened 3 years ago

Closed 3 years ago

#33250 closed Cleanup/optimization (wontfix)

EmailField's label in PasswordResetForm doesn't match the verbose_name of AbstractUser's EmailField — at Version 1

Reported by: Zoltán Szatmáry Owned by: nobody
Component: contrib.auth Version: 3.2
Severity: Normal Keywords: EmailField
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Mariusz Felisiak)

django/contrib/auth/models.py:342

email = models.EmailField(_('email address'), blank=True)

django/contrib/auth/forms.py:242-246

email = forms.EmailField(
        label=_("Email"),
        max_length=254,
        widget=forms.EmailInput(attrs={'autocomplete': 'email'})
    )

Change History (1)

comment:1 by Mariusz Felisiak, 3 years ago

Description: modified (diff)
Resolution: wontfix
Status: assignedclosed
Summary: EmailField's label in PasswordResetForm does not match the verbose_name of AbstractUser's EmailFieldEmailField's label in PasswordResetForm doesn't match the verbose_name of AbstractUser's EmailField
Type: BugCleanup/optimization

Thanks for this report, however IMO there is no need for them to be identical. The Email is completely valid and acceptable in the PasswordResetForm, it's not worth changing and creating extra work for translators.

Note: See TracTickets for help on using tickets.
Back to Top