Browse Source

Added a temporary page for ISB to debug Siteminder

pull/160/head
Mike Olund 8 years ago
parent
commit
471a46d443
2 changed files with 9 additions and 0 deletions
  1. +4
    -0
      edivorce/apps/core/urls.py
  2. +5
    -0
      edivorce/apps/core/views/system.py

+ 4
- 0
edivorce/apps/core/urls.py View File

@ -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<form_number>[0-9]{1,3})$', pdf.form, name="pdf_form"),
url(r'^prequalification/step_(?P<step>[0-9]{2})$', main.prequalification, name="prequalification"),
url(r'^question/(?P<step>.*)', main.form, name="question_steps"),


+ 5
- 0
edivorce/apps/core/views/system.py View File

@ -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')

Loading…
Cancel
Save