Browse files

allow dashes in slugs of schedule names

  • Loading branch information...
1 parent 292bf16 commit 17f9e53ef4413ca7836b949feba676696a67765a @trbs trbs committed Jan 15, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 symposion/schedule/urls.py
View
10 symposion/schedule/urls.py
@@ -7,9 +7,9 @@
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"),
)

0 comments on commit 17f9e53

Please sign in to comment.