From a25d4c54153dd3077e5f0d231c19b35ec91ba571 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org>
Date: Fri, 14 Jan 2022 14:54:01 +0100
Subject: [PATCH] Debug Organization update

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

diff --git a/scipost_django/organizations/views.py b/scipost_django/organizations/views.py
index 077aa0819..7118d2290 100644
--- a/scipost_django/organizations/views.py
+++ b/scipost_django/organizations/views.py
@@ -97,6 +97,7 @@ class OrganizationUpdateView(PermissionsMixin, UpdateView):
     Update an Organization.
     """
     permission_required = 'scipost.can_manage_organizations'
+    model = Organization
     form_class = OrganizationForm
     template_name = 'organizations/organization_update.html'
     success_url = reverse_lazy('organizations:organizations')
-- 
GitLab