#NEWLINE# def validate( self ) : #NEWLINE# #INDENT# form_class = self . get_form_class ( ) #NEWLINE# form = self . get_form ( form_class ) #NEWLINE# if form . is_valid ( ) : #NEWLINE# #INDENT# return self . form_valid ( form_class ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . form_invalid ( form )