#NEWLINE# def clean_email2( self ) : #NEWLINE# #INDENT# email = self . cleaned_data . get ( 'email' ) #NEWLINE# email2 = self . cleaned_data [ 'email2' ] #NEWLINE# if settings . ST_CASE_INSENSITIVE_EMAILS : #NEWLINE# #INDENT# email2 = email2 . lower ( ) #NEWLINE# #UNINDENT# if ( email and ( self != email2 ) ) : #NEWLINE# #INDENT# raise forms . ValidationError ( _ ( "The two email fields didn't match." ) ) #NEWLINE# #UNINDENT# return email2