Skip to content

Commit

Permalink
Fix page deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed May 24, 2024
1 parent eceaa9a commit 6104fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pretalx_pages/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6104fee

Please sign in to comment.