You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
309 B

from django.http import HttpResponse
from django.shortcuts import render
from edivorce.apps.core.models import Question
def health(request):
"""
OpenShift health check
"""
return HttpResponse(Question.objects.count())
def headers(request):
return render(request, 'localdev/debug.html')