From 89da43fb56d036dc11420c9f7246c19854512517 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 21 Oct 2020 09:59:30 +0100 Subject: first stab at a new compliance app for doing overview view and later audit and inspection stuff --- ctrack/compliance/views.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ctrack/compliance/views.py (limited to 'ctrack/compliance/views.py') diff --git a/ctrack/compliance/views.py b/ctrack/compliance/views.py new file mode 100644 index 0000000..e093f23 --- /dev/null +++ b/ctrack/compliance/views.py @@ -0,0 +1,10 @@ +from django.shortcuts import render + +from ctrack.caf.models import CAF + + +def overview(request): + cafs = CAF.objects.all() + context = {"cafs": cafs} + return render(request, "compliance/overview.html", context) + -- cgit v1.2.3