#NEWLINE# @ csrf_protect_m #NEWLINE# @ transaction . atomic #NEWLINE# @ filter_hook #NEWLINE# def post( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# self . instance_forms ( ) #NEWLINE# self . setup_forms ( ) #NEWLINE# if self . valid_forms ( ) : #NEWLINE# #INDENT# self . save_forms ( ) #NEWLINE# response = self . post_response ( ) #NEWLINE# if isinstance ( args , basestring ) : #NEWLINE# #INDENT# return HttpResponseRedirect ( response ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return response #NEWLINE# #UNINDENT# #UNINDENT# return self . get_response ( )