#NEWLINE# def to_html( self , request , queryset , view ) : #NEWLINE# #INDENT# filter_class = self . get_filter_class ( view , queryset ) #NEWLINE# if ( not filter_class ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# filter_instance = filter_class ( request . query_params , queryset = queryset ) #NEWLINE# context = { #NEWLINE# #INDENT# 'filter' : filter_instance , #NEWLINE# #UNINDENT# } #NEWLINE# template = loader . get_template ( self . template ) #NEWLINE# return template_render ( template , context )