trash-based urls are now prefixed in trash/ and moved in trash/urls.py
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 6 Sep 2013 08:32:54 +0000 (10:32 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 6 Sep 2013 08:32:54 +0000 (10:32 +0200)
myslice/urls.py
trash/urls.py [new file with mode: 0644]

index 21bc8bd..6d22803 100644 (file)
@@ -65,9 +65,6 @@ urlpatterns = patterns(
     #
     # various trash views - bound to go away 
     #
-    (r'^tab/?$',                          'trash.sampleviews.tab_view'),
-    (r'^scroll/?$',                       'trash.sampleviews.scroll_view'),
-    (r'^plugin/?$',                       'trash.pluginview.test_plugin_view'),
-    (r'^dashboard/?$',                    'trash.dashboard.dashboard_view'),
+    url(r'^trash/', include('trash.urls')),
 
 )
diff --git a/trash/urls.py b/trash/urls.py
new file mode 100644 (file)
index 0000000..0c344ed
--- /dev/null
@@ -0,0 +1,8 @@
+from django.conf.urls           import patterns, include, url
+
+urlpatterns = patterns('',
+                       url(r'^tab/?$',          'trash.sampleviews.tab_view'),
+                       (r'^scroll/?$',          'trash.sampleviews.scroll_view'),
+                       (r'^plugin/?$',          'trash.pluginview.test_plugin_view'),
+                       (r'^dashboard/?$',       'trash.dashboard.dashboard_view'),
+)