diff options
Diffstat (limited to 'ctrack/caf')
-rw-r--r-- | ctrack/caf/views.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py index f9d794e..93b44e3 100644 --- a/ctrack/caf/views.py +++ b/ctrack/caf/views.py @@ -1,17 +1,14 @@ from django.contrib.auth.mixins import LoginRequiredMixin from django.shortcuts import render -from django.views.generic import CreateView, ListView, DetailView +from django.views.generic import ListView -from ctrack.assessments.models import CAFAssessment, CAFObjective, CAFPrinciple, CAFAssessmentOutcomeScore +from ctrack.assessments.models import CAFAssessmentOutcomeScore from ctrack.caf.models import ApplicableSystem, CAF class ListCAF(LoginRequiredMixin, ListView): model = CAF - def get_context_data(self, **kwargs): - return super().get_context_data(**kwargs) - # Let's write a traditional function view! def caf_detail_view(request, pk): |