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'})
)
--
Ticket URL: <https://code.djangoproject.com/ticket/33250>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: assigned => closed
* type: Bug => Cleanup/optimization
* resolution: => wontfix
Old description:
> 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'})
> )
New description:
{{{
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'})
)
}}}
--
Comment:
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/33250#comment:1>