def api_doc(request): """ Returns the generated API documentation using all active API methods. """ api_methods = APIMethod.objects.filter(active=True) return render(request, "django_api/api_doc.html", {"api_methods": api_methods})
def frontpage(request): return render(request, "django_api/frontpage.html")