SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 039a7d91 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

redirect to organization after creation

parent 4f8b77e2
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,6 @@ class OrganizationCreateView(PermissionsMixin, CreateView): ...@@ -108,7 +108,6 @@ class OrganizationCreateView(PermissionsMixin, CreateView):
permission_required = "scipost.can_manage_organizations" permission_required = "scipost.can_manage_organizations"
form_class = OrganizationForm form_class = OrganizationForm
template_name = "organizations/organization_create.html" template_name = "organizations/organization_create.html"
success_url = reverse_lazy("organizations:organizations")
class OrganizationUpdateView(PermissionsMixin, UpdateView): class OrganizationUpdateView(PermissionsMixin, UpdateView):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment