#NEWLINE# def form_valid( self , form ) : #NEWLINE# #INDENT# self . send_email ( form . cleaned_data [ 'email' ] ) #NEWLINE# response_kwargs = { #NEWLINE# #INDENT# 'request' : response_kwargs . request , #NEWLINE# 'template' : self . template_name_sent , #NEWLINE# 'context' : self . get_context_data ( form = form ) , #NEWLINE# #UNINDENT# } #NEWLINE# return self . response_class ( ** response_kwargs )