From 6104feed5c59b3e75189c0e97c342c5ec6f6954e Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Fri, 24 May 2024 22:41:12 +0200 Subject: [PATCH] Fix page deletion --- pretalx_pages/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pretalx_pages/views.py b/pretalx_pages/views.py index 53a2137..60ca208 100644 --- a/pretalx_pages/views.py +++ b/pretalx_pages/views.py @@ -136,7 +136,7 @@ class PageDelete(EventPermissionRequired, PageDetailMixin, DeleteView): permission_required = "orga.change_settings" @transaction.atomic - def form_valid(self, request, *args, **kwargs): + def post(self, request, *args, **kwargs): self.object = self.get_object() self.object.log_action( "pretalx_pages.page.deleted", person=self.request.user, orga=True