#NEWLINE# def graph_test( request , test_slug , num_total = 5000 , div_by = 50 ) : #NEWLINE# #INDENT# test = Test . objects . get ( slug = test_slug ) #NEWLINE# sites = test . all_sites . all ( ) #NEWLINE# flot_val = graphify ( sites , test , num_total , div_by ) #NEWLINE# return render_to_response ( 'kong/graph_test.html' , { #NEWLINE# #INDENT# 'sites' : list ( sites ) , #NEWLINE# 'flot_list' : flot_val . items ( ) , #NEWLINE# 'test' : test , #NEWLINE# #UNINDENT# } , context_instance = RequestContext ( request ) )