Allow to download tickets with alternative layouts in backend

This commit is contained in:
Raphael Michel
2022-11-24 13:44:30 +01:00
parent 5858ed8d5c
commit e9ba9a25df
4 changed files with 101 additions and 6 deletions

View File

@@ -27,10 +27,12 @@ from pretix.plugins.ticketoutputpdf.api import (
)
from pretix.plugins.ticketoutputpdf.views import (
LayoutCreate, LayoutDelete, LayoutEditorView, LayoutGetDefault,
LayoutListView, LayoutSetDefault,
LayoutListView, LayoutSetDefault, OrderPrintDo,
)
urlpatterns = [
re_path(r'^control/event/(?P<organizer>[^/]+)/(?P<event>[^/]+)/badges/print$',
OrderPrintDo.as_view(), name='print'),
re_path(r'^control/event/(?P<organizer>[^/]+)/(?P<event>[^/]+)/pdfoutput/$',
LayoutListView.as_view(), name='index'),
re_path(r'^control/event/(?P<organizer>[^/]+)/(?P<event>[^/]+)/pdfoutput/add$',