pretix-congressschedule/pretix_congressschedule/urls.py

15 lines
No EOL
413 B
Python

from django.urls import path
from .api import CongressScheduleView, HackertoursMarkdownView
urlpatterns = [
path(
'api/v1/event/<str:organizer>/<str:event>/schedule.xml',
CongressScheduleView.as_view(),
name='schedule-xml',
),
path(
'api/v1/event/<str:organizer>/<str:event>/schedule.md',
HackertoursMarkdownView.as_view(),
name='schedule-md',
),
]