Skip to content

Commit 0616197

Browse files
committed
update
1 parent 09f606b commit 0616197

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

diary_app/forms.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ class PasswordChangeCustomForm(PasswordChangeForm):
4646
error_messages = {'password_incorrect':
4747
"message here"}
4848

49-
old_password = PasswordChangeForm.CharField(required=False, label='old_password',
49+
old_password = forms.CharField(required=False, label='old_password',
5050
widget=PasswordInput(attrs={
5151
'class': 'form-control'}),)
5252

53-
new_password1 = PasswordChangeForm.CharField(required=False, label='new_password1',
53+
new_password1 = forms.CharField(required=False, label='new_password1',
5454
widget=PasswordInput(attrs={
5555
'class': 'form-control'}),)
56-
new_password2 = PasswordChangeForm.CharField(required=False, label='new_password2',
56+
new_password2 = forms.CharField(required=False, label='new_password2',
5757
widget=PasswordInput(attrs={
5858
'class': 'form-control'}),)

0 commit comments

Comments
 (0)