22 lines
619 B
Python
22 lines
619 B
Python
from django.urls import include, path
|
|
|
|
from .views import JoinView, MusicrateSettingsView, PresenterView, QRCodeView
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"orga/event/<slug:event>/settings/p/pretalx_musicrate/",
|
|
MusicrateSettingsView.as_view(),
|
|
name="settings",
|
|
),
|
|
path(
|
|
"<slug:event>/p/pretalx_musicrate/",
|
|
include(
|
|
[
|
|
path("", QRCodeView.as_view(), name="qrcode"),
|
|
path("present/<code>/", PresenterView.as_view(), name="present"),
|
|
path("<slug:token>/", JoinView.as_view(), name="join"),
|
|
]
|
|
),
|
|
),
|
|
]
|