From eb9691015e43aa929eab9ed48f41a05363788a54 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 3 Sep 2013 17:45:55 +0200 Subject: [PATCH] take sliceview out of trash/ --- myslice/urls.py | 15 +++++++++------ {trash => portal}/sliceview.py | 0 2 files changed, 9 insertions(+), 6 deletions(-) rename {trash => portal}/sliceview.py (100%) diff --git a/myslice/urls.py b/myslice/urls.py index ef1f30ce..6ab0fd9e 100644 --- a/myslice/urls.py +++ b/myslice/urls.py @@ -11,6 +11,7 @@ add_to_builtins('insert_above.templatetags.insert_tags') # main entry point (set to the / URL) default_view='trash.pluginview.test_plugin_view' +#default_view='portal.views.PlatformsView' # where to be redirected after login after_login_view='trash.dashboard.dashboard_view' @@ -39,15 +40,17 @@ urlpatterns = patterns( # the manifold proxy # (r'^manifold/proxy/(?P\w+)/?$', 'manifold.manifoldproxy.proxy'), + # + # the slice view # + (r'^slice/?$', 'portal.sliceview.slice_view'), + (r'^slice/(?P[\w\.]+)/?$', 'portal.sliceview.slice_view'), # various trash views # - (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'), - (r'^slice/?$', 'trash.sliceview.slice_view'), - (r'^slice/(?P[\w\.]+)/?$', 'trash.sliceview.slice_view'), + (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'), # Portal url(r'^portal/', include('portal.urls')), # Portal diff --git a/trash/sliceview.py b/portal/sliceview.py similarity index 100% rename from trash/sliceview.py rename to portal/sliceview.py -- 2.43.0