#NEWLINE# def clean_email( self ) : #NEWLINE# #INDENT# value = self . cleaned_data [ 'email' ] #NEWLINE# exists = self . proposal . additional_speakers . filter ( ( Q ( user = None , invite_email = value ) | Q ( user__email = value ) ) ) . exists ( ) #NEWLINE# if exists : #NEWLINE# #INDENT# raise forms . ValidationError ( _ ( 'This email address has already been invited to your talk proposal' ) ) #NEWLINE# #UNINDENT# return value