mirror of
https://github.com/pretix/pretix.git
synced 2026-08-23 12:51:59 +00:00
Add webhooks for waiting list events (#3423)
Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
co-authored by
Richard Schreiber
parent
79c9ba3cf3
commit
61ab6f729d
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user