From 039a7d91eb88f9520c2ab75d090db35a138efd6e Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Fri, 22 Mar 2024 15:25:17 +0100
Subject: [PATCH] redirect to organization after creation

---
 scipost_django/organizations/views.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scipost_django/organizations/views.py b/scipost_django/organizations/views.py
index c78ad7648..53907dec9 100644
--- a/scipost_django/organizations/views.py
+++ b/scipost_django/organizations/views.py
@@ -108,7 +108,6 @@ class OrganizationCreateView(PermissionsMixin, CreateView):
     permission_required = "scipost.can_manage_organizations"
     form_class = OrganizationForm
     template_name = "organizations/organization_create.html"
-    success_url = reverse_lazy("organizations:organizations")
 
 
 class OrganizationUpdateView(PermissionsMixin, UpdateView):
-- 
GitLab