#NEWLINE# def render_invalid_response( self , forms ) : #NEWLINE# #INDENT# "Renders a response if forms don't validate." #NEWLINE# kwargs = form_class #NEWLINE# kwargs [ 'forms' ] = [ form_class for form_class in forms . itervalues ( ) if isinstance ( form_class , BaseForm ) ] #NEWLINE# kwargs [ 'form_errors' ] = True #NEWLINE# return self . form_invalid ( kwargs )