#NEWLINE# def add_products( self , request ) : #NEWLINE# #INDENT# range = self . get_range ( ) #NEWLINE# form = self . form_class ( range , request . POST , form . FILES ) #NEWLINE# if ( not form . is_valid ( ) ) : #NEWLINE# #INDENT# ctx = self . get_context_data ( form = form , object_list = self . object_list ) #NEWLINE# return self . render_to_response ( ctx ) #NEWLINE# #UNINDENT# self . handle_query_products ( request , range , form ) #NEWLINE# self . handle_file_products ( request , range , form ) #NEWLINE# return HttpResponseRedirect ( self . get_success_url ( request ) )