Widget: Fix waiting list integration of seated events (#3323)

This commit is contained in:
Raphael Michel
2023-05-16 18:07:00 +02:00
committed by GitHub
parent 1d1f68945f
commit 90ee435f55
2 changed files with 17 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ from django.views.generic import FormView, TemplateView
from pretix.base.models import Quota, SubEvent
from pretix.base.templatetags.urlreplace import url_replace
from pretix.multidomain.urlreverse import eventreverse
from pretix.presale.views import EventViewMixin
from pretix.presale.views import EventViewMixin, iframe_entry_view_wrapper
from ...base.i18n import get_language_without_region
from ...base.models import Voucher, WaitingListEntry
@@ -42,6 +42,7 @@ from . import allow_frame_if_namespaced
@method_decorator(allow_frame_if_namespaced, 'dispatch')
@method_decorator(iframe_entry_view_wrapper, 'dispatch')
class WaitingView(EventViewMixin, FormView):
template_name = 'pretixpresale/event/waitinglist.html'
form_class = WaitingListForm