symposion_app/vendor/symposion/schedule/urls.py

35 lines
1.4 KiB
Python
Raw Normal View History

2016-02-27 22:54:42 +00:00
from django.conf.urls import url
2016-02-27 22:54:42 +00:00
from .views import (
schedule_conference,
schedule_edit,
schedule_list,
schedule_list_csv,
schedule_presentation_detail,
schedule_detail,
schedule_slot_edit,
schedule_json,
session_staff_email,
session_list,
session_detail,
2016-12-22 01:00:23 +00:00
EventFeed
)
2016-02-27 22:54:42 +00:00
urlpatterns = [
url(r"^$", schedule_conference, name="schedule_conference"),
url(r"^edit/$", schedule_edit, name="schedule_edit"),
url(r"^list/$", schedule_list, name="schedule_list"),
url(r"^presentations.csv$", schedule_list_csv, name="schedule_list_csv"),
url(r"^presentation/(\d+)/$", schedule_presentation_detail, name="schedule_presentation_detail"),
2017-01-12 22:05:47 +00:00
url(r"^sessions/staff.txt$", session_staff_email, name="schedule_session_staff_email"),
url(r"^sessions/$", session_list, name="schedule_session_list"),
url(r"^session/(\d+)/$", session_detail, name="schedule_session_detail"),
2016-02-27 22:54:42 +00:00
url(r"^([\w\-]+)/$", schedule_detail, name="schedule_detail"),
url(r"^([\w\-]+)/edit/$", schedule_edit, name="schedule_edit"),
url(r"^([\w\-]+)/list/$", schedule_list, name="schedule_list"),
url(r"^([\w\-]+)/presentations.csv$", schedule_list_csv, name="schedule_list_csv"),
url(r"^([\w\-]+)/edit/slot/(\d+)/", schedule_slot_edit, name="schedule_slot_edit"),
url(r"^conference.json", schedule_json, name="schedule_json"),
2016-12-22 01:00:23 +00:00
url(r"^conference.ics", EventFeed(), name="ical_feed"),
2016-02-27 22:54:42 +00:00
]