#NEWLINE# def get( self , request , **kwargs ) : #NEWLINE# #INDENT# params = self . get_params ( request ) #NEWLINE# view = self . get_view ( request ) #NEWLINE# context = self . get_context ( request ) #NEWLINE# query_options = { #NEWLINE# #INDENT# 'export_type' : HTMLExporter . short_name , #NEWLINE# 'query_name' : self . _get_query_name ( request ) , #NEWLINE# #UNINDENT# } #NEWLINE# query_options . update ( ** kwargs ) #NEWLINE# query_options . update ( context ) #NEWLINE# try : #NEWLINE# #INDENT# row_data = utils . get_result_rows ( context , view , query_options ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# raise Http404 #NEWLINE# #UNINDENT# return process_results ( request , PREVIEW_RESULT_PROCESSOR_NAME , row_data )