symposion_app/symposion/schedule/urls.py
2012-08-31 00:57:53 -04:00

10 lines
473 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"),
)