#NEWLINE# def clean_password2( self ) : #NEWLINE# #INDENT# password1 = self . cleaned_data . get ( 'password1' ) #NEWLINE# password2 = self . cleaned_data . get ( 'password2' ) #NEWLINE# if ( password1 != password2 ) : #NEWLINE# #INDENT# raise forms . ValidationError ( "The password doesn't match the other." ) #NEWLINE# #UNINDENT# return self