1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-15 02:45:50 +00:00
pretalx-plugin-broadcast-tools/pretalx_broadcast_tools/urls.py

53 lines
1.7 KiB
Python
Raw Normal View History

from django.urls import include, path
2023-09-30 10:39:30 +00:00
from .views.event_info import BroadcastToolsEventInfoView
from .views.orga import BroadcastToolsOrgaView
from .views.qr import BroadcastToolsFeedbackQrCodeSvg, BroadcastToolsPublicQrCodeSvg
from .views.schedule import BroadcastToolsScheduleView
from .views.static_html import BroadcastToolsLowerThirdsView, BroadcastToolsRoomInfoView
urlpatterns = [
path(
"<slug:event>/p/broadcast-tools/",
include(
[
path(
"event.json",
BroadcastToolsEventInfoView.as_view(),
name="event_info",
),
path(
"schedule.json",
BroadcastToolsScheduleView.as_view(),
name="schedule",
),
path(
"lower-thirds/",
BroadcastToolsLowerThirdsView.as_view(),
name="lowerthirds",
),
path(
"feedback-qr/<talk>.svg",
BroadcastToolsFeedbackQrCodeSvg.as_view(),
name="feedback_qr_id",
),
path(
"public-qr/<talk>.svg",
BroadcastToolsPublicQrCodeSvg.as_view(),
name="public_qr_id",
),
path(
"room-info/",
BroadcastToolsRoomInfoView.as_view(),
name="room_info",
),
],
),
),
path(
"orga/event/<slug:event>/settings/p/broadcast-tools/",
2023-09-30 10:39:30 +00:00
BroadcastToolsOrgaView.as_view(),
name="orga",
),
]