feat: Adds json endpoint
This commit is contained in:
parent
be028b841a
commit
0e259bd40f
2 changed files with 187 additions and 4 deletions
|
|
@ -1,10 +1,15 @@
|
|||
from django.urls import path
|
||||
from .api import CongressScheduleView, HackertoursMarkdownView
|
||||
from .api import CongressScheduleXMLView, HackertoursMarkdownView
|
||||
|
||||
urlpatterns = [
|
||||
path(
|
||||
'api/v1/event/<str:organizer>/<str:event>/schedule.xml',
|
||||
CongressScheduleView.as_view(),
|
||||
CongressScheduleXMLView.as_view(),
|
||||
name='schedule-xml',
|
||||
),
|
||||
path(
|
||||
'api/v1/event/<str:organizer>/<str:event>/schedule.xml',
|
||||
CongressScheduleJSONView.as_view(),
|
||||
name='schedule-xml',
|
||||
),
|
||||
path(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue