diff --git a/cms/forms.py b/cms/forms.py index 48e66aa..c021d80 100644 --- a/cms/forms.py +++ b/cms/forms.py @@ -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(), + }