diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/caf/views.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py index 9a5cb64..a0fc17b 100644 --- a/ctrack/caf/views.py +++ b/ctrack/caf/views.py @@ -1,5 +1,6 @@ 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 from ctrack.assessments.models import CAFAssessmentOutcomeScore @@ -56,3 +57,5 @@ class ApplicableSystemCreate(LoginRequiredMixin, CreateView): form_class = ApplicableSystemCreateForm model = ApplicableSystem template_name = "caf/applicablesystem_create.html" + success_url = reverse_lazy("caf:es_list") + |