From 5778840559bde9080b9dc048bcfe372230b6548d Mon Sep 17 00:00:00 2001 From: Mikko Nieminen Date: Mon, 8 Jan 2024 17:27:56 +0100 Subject: [PATCH] fix RemoteSiteDeleteView (#880) --- projectroles/views.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/projectroles/views.py b/projectroles/views.py index 9c89a848..572e5b5d 100644 --- a/projectroles/views.py +++ b/projectroles/views.py @@ -2968,21 +2968,17 @@ class RemoteSiteUpdateView( class RemoteSiteDeleteView( LoginRequiredMixin, LoggedInPermissionMixin, - RemoteSiteModifyMixin, HTTPRefererMixin, - CurrentUserFormMixin, DeleteView, ): """RemoteSite deletion view""" model = RemoteSite - form_class = RemoteSiteForm permission_required = 'projectroles.update_remote' slug_url_kwarg = 'remotesite' slug_field = 'sodar_uuid' def get_success_url(self): - """Override get_success_url() to add message""" timeline = get_backend_api('timeline_backend') if timeline: event_name = '{}_site_delete'.format(