Add webhooks for waiting list events (#3423)

Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
Raphael Michel
2023-06-21 14:17:41 +02:00
committed by GitHub
parent 79c9ba3cf3
commit 61ab6f729d
6 changed files with 49 additions and 4 deletions

View File

@@ -127,6 +127,7 @@ class WaitingView(EventViewMixin, FormView):
return redirect(self.get_index_url())
form.save()
form.instance.log_action("pretix.event.orders.waitinglist.added")
messages.success(self.request, _("We've added you to the waiting list. You will receive "
"an email as soon as this product gets available again."))
return super().form_valid(form)