symposion_app/symposion/schedule/urls.py

21 lines
1 KiB
Python
Raw Normal View History

2014-07-30 18:19:26 +00:00
# flake8: noqa
from django.conf.urls.defaults import url, patterns
from django.views.decorators.cache import cache_page
from symposion.schedule.views import schedule_json
urlpatterns = patterns("symposion.schedule.views",
2012-12-20 06:49:32 +00:00
url(r"^$", "schedule_conference", name="schedule_conference"),
2012-09-21 02:56:25 +00:00
url(r"^edit/$", "schedule_edit", name="schedule_edit"),
url(r"^list/$", "schedule_list", name="schedule_list"),
2012-10-09 19:07:55 +00:00
url(r"^presentations.csv$", "schedule_list_csv", name="schedule_list_csv"),
2012-09-21 02:38:24 +00:00
url(r"^presentation/(\d+)/$", "schedule_presentation_detail", name="schedule_presentation_detail"),
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", cache_page(300)(schedule_json), name="schedule_json"),
)