aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
authorMR Lemon <matt@matthewlemon>2020-04-20 17:22:29 +0100
committerMR Lemon <matt@matthewlemon>2020-04-20 17:22:29 +0100
commit522ec5ece6f634c9c4cbadc8e758448fd000eb22 (patch)
treec176d1476d170bac6b928f5e61e3202433d57fd4 /ctrack/caf
parent6c06361481ae9565b3da523b360c480ead48c47e (diff)
quick optimise
Diffstat (limited to 'ctrack/caf')
-rw-r--r--ctrack/caf/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py
index 003cb18..ded9233 100644
--- a/ctrack/caf/views.py
+++ b/ctrack/caf/views.py
@@ -1,7 +1,7 @@
from django.contrib.auth.mixins import LoginRequiredMixin
from django.shortcuts import render
from django.urls import reverse_lazy
-from django.views.generic import ListView, DetailView, CreateView, FormView
+from django.views.generic import ListView, DetailView, FormView
from ctrack.assessments.models import CAFAssessmentOutcomeScore
from ctrack.caf.forms import ApplicableSystemCreateFromOrgForm
@@ -72,7 +72,6 @@ class ApplicableSystemCreateFromOrg(LoginRequiredMixin, FormView):
)
return super().form_valid(form)
-
def get_form_kwargs(self):
kwargs = super().get_form_kwargs()
org = Organisation.objects.get(slug=self.kwargs["slug"])