diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 09:59:30 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 09:59:30 +0100 |
commit | 89da43fb56d036dc11420c9f7246c19854512517 (patch) | |
tree | 8440746edfb7120d31cd3655bd2d582df22ba75d /ctrack/compliance/views.py | |
parent | 3a4073a6f6d4c6d03f2464120d7d8a6fdbed42b1 (diff) |
first stab at a new compliance app for doing overview view and later audit and inspection stuff
Diffstat (limited to '')
-rw-r--r-- | ctrack/compliance/views.py | 10 |
1 files changed, 10 insertions, 0 deletions
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) + |