symposion_app/symposion/schedule/urls.py
2012-08-31 01:52:45 -04:00

11 lines
533 B
Python

from django.conf.urls.defaults import url, patterns
urlpatterns = patterns("symposion.schedule.views",
url(r"^$", "schedule_detail", name="schedule_detail_singleton"),
url(r"^edit/$", "schedule_edit", name="schedule_edit_singleton"),
url(r"^(\w+)/edit/$", "schedule_detail", name="schedule_detail"),
url(r"^(\w+)/edit/$", "schedule_edit", name="schedule_edit"),
url(r"^edit/slot/(?P<slot_pk>\d+)/", "schedule_slot_edit", name="schedule_slot_edit"),
url(r"^list/$", "schedule_list", name="schedule_list"),
)