#NEWLINE# def test_detail_for_site( request , site_slug , test_slug ) : #NEWLINE# #INDENT# test = Test . objects . get ( slug = test_slug ) #NEWLINE# site = Site . objects . get ( slug = site_slug ) #NEWLINE# result = TestResult . objects . filter ( test = test , site = site ) [ 0 ] #NEWLINE# flot_list = flotify ( result ) #NEWLINE# return render_to_response ( 'kong/test_list_for_site.html' , { #NEWLINE# #INDENT# 'result' : result , #NEWLINE# 'flot_list' : flot_list , #NEWLINE# #UNINDENT# } , context_instance = RequestContext ( request ) )