From 180eb3df8397fafefed6240bd517fe729a633e7b 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 67921e81..034abb53 100644 --- a/projectroles/views.py +++ b/projectroles/views.py @@ -3022,21 +3022,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(