aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/views.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/caf/views.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py
index 93b44e3..4bcfe61 100644
--- a/ctrack/caf/views.py
+++ b/ctrack/caf/views.py
@@ -1,6 +1,6 @@
from django.contrib.auth.mixins import LoginRequiredMixin
from django.shortcuts import render
-from django.views.generic import ListView
+from django.views.generic import ListView, DetailView
from ctrack.assessments.models import CAFAssessmentOutcomeScore
from ctrack.caf.models import ApplicableSystem, CAF
@@ -44,3 +44,8 @@ class ListApplicableSystem(LoginRequiredMixin, ListView):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
return context
+
+
+class ApplicableSystemDetail(LoginRequiredMixin, DetailView):
+ model = ApplicableSystem
+ template_name = "caf/applicablesystem_detail.html"