@login_required
def add_prometheus(request, code):
    (project, rw) = _get_project_for_user(request, code)
    ctx = {'page': 'channels', 'project': project}
    return render(request, 'integrations/add_prometheus.html', ctx)
@login_required
def add_prometheus(request, code):
    (project, rw) = _get_project_for_user(request, code)
    ctx = {'page': 'channels', 'project': project}
    return render(request, 'integrations/add_prometheus.html', ctx)