From 13d84b91e3804fc228f51874896c86d8c6aa02f1 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 6 Sep 2013 10:32:54 +0200 Subject: [PATCH] trash-based urls are now prefixed in trash/ and moved in trash/urls.py --- myslice/urls.py | 5 +---- trash/urls.py | 8 ++++++++ 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 trash/urls.py diff --git a/myslice/urls.py b/myslice/urls.py index 21bc8bd9..6d22803f 100644 --- a/myslice/urls.py +++ b/myslice/urls.py @@ -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 index 00000000..0c344edd --- /dev/null +++ b/trash/urls.py @@ -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'), +) -- 2.43.0