fixed schedule URLs

This commit is contained in:
Brian Rosner 2012-09-19 20:05:05 -06:00
parent 1b2cdeffb0
commit f1072eb4d9

View file

@ -4,9 +4,9 @@ from django.conf.urls.defaults import url, patterns
urlpatterns = patterns("symposion.schedule.views",
url(r"^$", "schedule_detail", name="schedule_detail_slugless"),
url(r"^edit/$", "schedule_edit", name="schedule_edit_slugless"),
url(r"^(\w+)/edit/$", "schedule_detail", name="schedule_detail"),
url(r"^list/$", "schedule_list", name="schedule_list_slugless"),
url(r"^(\w+)/$", "schedule_detail", name="schedule_detail"),
url(r"^(\w+)/edit/$", "schedule_edit", name="schedule_edit"),
url(r"^(\w+)/edit/slot/(\d+)/", "schedule_slot_edit", name="schedule_slot_edit"),
url(r"^list/$", "schedule_list", name="schedule_list_slugless"),
url(r"^(\w+)/list/$", "schedule_list", name="schedule_list"),
)