#NEWLINE# def display_bestratings( request , count = 0 , template = 'product/best_ratings.html' ) : #NEWLINE# #INDENT# 'Display a list of the products with the best ratings in comments' #NEWLINE# if ( request is None ) : #NEWLINE# #INDENT# count = config_value ( 'PRODUCT' , 'NUM_DISPLAY' ) #NEWLINE# #UNINDENT# ctx = RequestContext ( request , { #NEWLINE# #INDENT# 'products' : highest_rated ( ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# return render_to_response ( template , context_instance = ctx )