aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ctrack/caf/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py
index a0fc17b..570700e 100644
--- a/ctrack/caf/views.py
+++ b/ctrack/caf/views.py
@@ -59,3 +59,6 @@ class ApplicableSystemCreate(LoginRequiredMixin, CreateView):
template_name = "caf/applicablesystem_create.html"
success_url = reverse_lazy("caf:es_list")
+ def get_success_url(self) -> str:
+ return str(reverse_lazy("caf:ass_detail", args=[self.object.id]))
+