diff options
author | Johannes Raggam <raggam-nl@adm.at> | 2011-04-04 20:02:42 (GMT) |
---|---|---|
committer | Johannes Raggam <raggam-nl@adm.at> | 2011-04-04 20:02:42 (GMT) |
commit | a3f9af7e8b5972c549918b1c01118e9d78ec52c8 (patch) | |
tree | 162c8dc98066480587f383439ffa89c2be7e157b | |
parent | 9066d03269bfb3cfe1410a9d1083d0bd352e6ca8 (diff) |
unify urls for easier deliverance integration
-rw-r--r-- | helsinki/program/urls_program.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helsinki/program/urls_program.py b/helsinki/program/urls_program.py index caa302b..d96d7d7 100644 --- a/helsinki/program/urls_program.py +++ b/helsinki/program/urls_program.py @@ -11,10 +11,10 @@ urlpatterns = patterns('', ('^(?P<year>\d{4})/(?P<week>\d{1,2})/$', WeekScheduleView.as_view()), ('^current_box/$', CurrentShowView.as_view()), ('^hosts/$', ListView.as_view(model=Host, context_object_name='hosts')), - url('^host/(?P<pk>\d+)/$', DetailView.as_view(model=Host), name='host-detail'), + url('^hosts/(?P<pk>\d+)/$', DetailView.as_view(model=Host), name='host-detail'), ('^recommendations/$', RecommendationsView.as_view()), ('^recommendations_box/$', RecommendationsView.as_view(template_name='program/recommendations_box.html')), ('^shows/$', ShowListView.as_view()), - url('^show/(?P<slug>[\w-]+)/$', DetailView.as_view(model=Show), name='show-detail'), + url('^shows/(?P<slug>[\w-]+)/$', DetailView.as_view(model=Show), name='show-detail'), url('^(?P<pk>\d+)/$', DetailView.as_view(model=TimeSlot), name='timeslot-detail'), ) |