From aafd30c1eea5a4b97b9afd99d8c55832031ce60f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 1 Oct 2020 08:18:55 +0100 Subject: formatting --- ctrack/register/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctrack') diff --git a/ctrack/register/views.py b/ctrack/register/views.py index 32faf4d..dfefc1b 100644 --- a/ctrack/register/views.py +++ b/ctrack/register/views.py @@ -16,11 +16,11 @@ class EngagementEventDelete(DeleteView): return reverse_lazy("organisations:detail", args=[self.kwargs["slug"]]) - class EngagementEventCreate(LoginRequiredMixin, FormView): fields = "__all__" form_class = EngagementEventCreateForm template_name = "register/engagementevent_form.html" + # success_url = reverse_lazy("organisations:list") def form_valid(self, form): -- cgit v1.2.3