diff --git a/edivorce/apps/core/urls.py b/edivorce/apps/core/urls.py index d155637f..f87a973b 100644 --- a/edivorce/apps/core/urls.py +++ b/edivorce/apps/core/urls.py @@ -11,6 +11,10 @@ urlpatterns = [ url(r'^logout', main.logout, name="logout"), url(r'^overview', main.overview, name="overview"), url(r'^health$', system.health), + + # todo: remove this line once BCeID is working + url(r'^headers$', system.headers), + url(r'^pdf-form(?P[0-9]{1,3})$', pdf.form, name="pdf_form"), url(r'^prequalification/step_(?P[0-9]{2})$', main.prequalification, name="prequalification"), url(r'^question/(?P.*)', main.form, name="question_steps"), diff --git a/edivorce/apps/core/views/system.py b/edivorce/apps/core/views/system.py index c3d2781d..4cf1138c 100644 --- a/edivorce/apps/core/views/system.py +++ b/edivorce/apps/core/views/system.py @@ -1,4 +1,6 @@ from django.http import HttpResponse +from django.shortcuts import render + from edivorce.apps.core.models import Question @@ -7,3 +9,6 @@ def health(request): OpenShift health check """ return HttpResponse(Question.objects.count()) + +def headers(request): + return render(request, 'localdev/debug.html') \ No newline at end of file