pretalx-musicrate/pretalx_musicrate/urls.py

21 lines
522 B
Python
Raw Normal View History

2023-12-15 02:48:31 +01:00
from django.urls import include, path
2023-12-13 23:58:00 +01:00
2023-12-15 02:52:49 +01:00
from .views import JoinView, MusicrateSettingsView, QRCodeView
2023-12-13 23:58:00 +01:00
urlpatterns = [
2023-12-15 02:48:31 +01:00
path(
"orga/event/<slug:event>/settings/p/pretalx_musicrate/",
2023-12-14 02:52:59 +01:00
MusicrateSettingsView.as_view(),
2023-12-13 23:58:00 +01:00
name="settings",
),
2023-12-15 02:48:31 +01:00
path(
"<slug:event>/p/pretalx_musicrate/",
include(
[
path("", QRCodeView.as_view(), name="qrcode"),
2023-12-15 02:52:49 +01:00
path("<slug:token>/", JoinView.as_view(), name="join"),
2023-12-15 02:48:31 +01:00
]
),
),
2023-12-13 23:58:00 +01:00
]