After mergin develop
This commit is contained in:
parent
2bfa6619b1
commit
cd47331ae7
@ -51,8 +51,8 @@ class AdminPageUsers(forms.Form):
|
|||||||
|
|
||||||
class CustomAuthenticationForm(AuthenticationForm):
|
class CustomAuthenticationForm(AuthenticationForm):
|
||||||
"""
|
"""
|
||||||
Форма для авторизации :class:`django.contrib.auth.forms.AuthenticationForm`
|
Форма для авторизации :class:`django.contrib.auth.forms.AuthenticationForm`
|
||||||
с изменением поля username на email
|
с изменением поля username на email
|
||||||
"""
|
"""
|
||||||
username = forms.CharField(
|
username = forms.CharField(
|
||||||
label="Электронная почта",
|
label="Электронная почта",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user