diff --git a/judge/views/organization.py b/judge/views/organization.py index 2f305a7..1ea536f 100644 --- a/judge/views/organization.py +++ b/judge/views/organization.py @@ -643,6 +643,7 @@ class AddOrganizationMember( class KickUserWidgetView( LoginRequiredMixin, AdminOrganizationMixin, SingleObjectMixin, View ): + model = Organization def post(self, request, *args, **kwargs): organization = self.get_object() try: