Merge pull request #18 from trbs/master

allow dashes in slugs of schedule names
This commit is contained in:
James Tauber 2013-01-20 14:14:01 -08:00
commit 465c170e3d

View file

@ -7,9 +7,9 @@ urlpatterns = patterns("symposion.schedule.views",
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"),
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"^([\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"),
)