]> git.parisson.com Git - teleforma.git/commitdiff
readd desk/ > home/
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 8 Jul 2013 10:48:05 +0000 (12:48 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 8 Jul 2013 10:48:05 +0000 (12:48 +0200)
teleforma/urls.py

index a4790b592bf4ceace83d21abf8d1b64b6a66fc82..3141c84a3235066f3ebbdb1dd43c67fcc68e0ea7 100644 (file)
@@ -63,7 +63,8 @@ urlpatterns = patterns('',
     # Telemeta
     url(r'^', include('telemeta.urls')),
 
-    # Desk (with periods)
+    # Desk
+    url(r'^desk/$', HomeRedirectView.as_view(), name="teleforma-desk"),
     url(r'^desk/periods/(?P<period_id>.*)/courses/$', PeriodListView.as_view(), name="teleforma-desk-period-list"),
     url(r'^desk/periods/(?P<period_id>.*)/courses/(?P<pk>.*)/detail/$', PeriodCourseView.as_view(),
         name="teleforma-desk-period-course"),