#30776: AuthenticationForm's username field doesn't set maxlength HTML
attribute.
------------------------------+----------------------------------------
Reporter: felixxm | Owner: Sam Reynolds
Type: Bug | Status: assigned
Component: contrib.auth | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+----------------------------------------
Comment (by felixxm):
Good point about `MaxLengthValidator` we should restore it. I don't think
that changing `UsernameField.__init__()` is a good idea because it is not
necessary for other forms which inherit from `forms.ModelForm`, also
`UsernameField` can be used without `max_length`.
--
Ticket URL: <https://code.djangoproject.com/ticket/30776#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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.863420df8470d3287a2bf8b3689494ed%40djangoproject.com.