Merge "Don't add required attribute to html form fields" into stable/pike
This commit is contained in:
commit
28c81e3432
@ -47,6 +47,7 @@ class Login(django_auth_forms.AuthenticationForm):
|
||||
Inherits from the base ``django.contrib.auth.forms.AuthenticationForm``
|
||||
class for added security features.
|
||||
"""
|
||||
use_required_attribute = False
|
||||
region = forms.ChoiceField(label=_("Region"), required=False)
|
||||
username = forms.CharField(
|
||||
label=_("User Name"),
|
||||
|
Loading…
Reference in New Issue
Block a user