Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
reports.py 412 B

from django.http import HttpResponse
from django.template import RequestContext
from django.shortcuts import render_to_response
from django.conf import settings



def histo(request):
    table = open(settings.LATENCY_REPORT_WEB_PAGE_FILE_PATH, "r").read()
    return render_to_response(
            'gracedb/histogram.html',
            {'table': table},
            context_instance=RequestContext(request))