forked from CGM_Public/pretix_original
Add webhooks for waiting list events (#3423)
Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
@@ -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