Добавлено скрытые символы в password input
This commit is contained in:
parent
9b33b83dbd
commit
f0ea52670c
@ -11,8 +11,9 @@ class ArticleForm(forms.ModelForm):
|
||||
|
||||
|
||||
class UserForm(forms.ModelForm):
|
||||
password = forms.PasswordInput()
|
||||
|
||||
class Meta:
|
||||
model = auth_models.User
|
||||
fields = ('username', 'password',)
|
||||
widgets = {
|
||||
'password': forms.PasswordInput(),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user