aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-04-17 09:28:34 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-04-17 09:28:34 +0100
commit06db3f1c10210ad1a9c1ae67f440a7211166a5ec (patch)
tree68820855ccec24f5aad05630c56f01e774b347fd /ctrack/caf
parentfcafbe83f3510fb4d4be6a72921ca088b5151933 (diff)
optimised imports
Diffstat (limited to 'ctrack/caf')
-rw-r--r--ctrack/caf/views.py7
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):