Use field-specific validation.

This commit is contained in:
Mikkel Hoegh 2010-06-07 09:08:49 +02:00
parent 4eb3ecbbd2
commit 8a3606259e

View file

@ -23,7 +23,7 @@ class AuthenticationForm(forms.Form):
super(AuthenticationForm, self).__init__(*args, **kwargs) super(AuthenticationForm, self).__init__(*args, **kwargs)
def clean(self): def clean_password(self):
""" """
Validate that the password entered was correct. Validate that the password entered was correct.
""" """