diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/caf/views.py | 3 |
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"]) |