diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-02-26 18:30:07 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-02-26 18:30:07 (GMT) |
commit | eee8713edf499865dee264d0c3a8947c752b02a4 (patch) | |
tree | a3bf8df502fbc4326e91ed7884ce8958175d7a7c /program/urls.py | |
parent | af048dbfb9143be9958934a6f0b65d304bc13b22 (diff) | |
parent | 850f92794a2571f44fd95f53a3f96f5ea659b3a4 (diff) |
Merge branch 'new-homepage' into stable
Diffstat (limited to 'program/urls.py')
-rw-r--r-- | program/urls.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/program/urls.py b/program/urls.py index a3badf3..cb389e2 100644 --- a/program/urls.py +++ b/program/urls.py @@ -21,7 +21,18 @@ urlpatterns = patterns('', url(r'^shows/?$', views.ShowListView.as_view()), url(r'^shows/(?P<slug>[\w-]+)/?$', views.ShowDetailView.as_view(), name='show-detail'), url(r'^(?P<pk>\d+)/?$', views.TimeSlotDetailView.as_view(), name='timeslot-detail'), - url(r'^styles.css$', views.StylesView.as_view()) + url(r'^styles.css$', views.StylesView.as_view()), + # V2 Patterns for new Homepage 2021 + url(r'^v2/today/?$', views.DayScheduleViewV2.as_view()), + url(r'^v2/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/?$', views.DayScheduleViewV2.as_view()), + url(r'^v2/current_box/?$', cache_page(60)(views.CurrentShowBoxViewV2.as_view())), + url(r'^v2/hosts/?$', views.HostListViewV2.as_view()), + url(r'^v2/hosts/(?P<pk>\d+)/?$', views.HostDetailViewV2.as_view(), name='host-detail'), + url(r'^v2/tips/?$', views.RecommendationsListViewV2.as_view()), + url(r'^v2/tips_box/?$', views.RecommendationsBoxViewV2.as_view()), + url(r'^v2/shows/?$', views.ShowListViewV2.as_view()), + url(r'^v2/shows/(?P<slug>[\w-]+)/?$', views.ShowDetailViewV2.as_view(), name='show-detail'), + url(r'^v2/(?P<pk>\d+)/?$', views.TimeSlotDetailViewV2.as_view(), name='timeslot-detail'), ) if settings.DEBUG: urlpatterns += \ |