From 808eac008bdce4d6b05df36bca056e1fba504434 Mon Sep 17 00:00:00 2001 From: Joar Wandborg Date: Wed, 11 Jul 2012 01:43:21 +0200 Subject: Processing panel improvements - Added admin processing panel - Minor fixes on the user processing panel template --- mediagoblin/admin/routing.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 mediagoblin/admin/routing.py (limited to 'mediagoblin/admin/routing.py') diff --git a/mediagoblin/admin/routing.py b/mediagoblin/admin/routing.py new file mode 100644 index 00000000..ea768c24 --- /dev/null +++ b/mediagoblin/admin/routing.py @@ -0,0 +1,21 @@ +# GNU MediaGoblin -- federated, autonomous media hosting +# Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +from routes.route import Route + +admin_routes = [ + Route('mediagoblin.admin.panel', '/panel', + controller='mediagoblin.admin.views:admin_processing_panel')] -- cgit v1.2.3 From 5b60ec41ee5d0f25d66190b2a0114a8e1b216f86 Mon Sep 17 00:00:00 2001 From: Joar Wandborg Date: Sat, 20 Oct 2012 12:09:23 +0200 Subject: Removed Routes dependency, added admin routes --- mediagoblin/admin/routing.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mediagoblin/admin/routing.py') diff --git a/mediagoblin/admin/routing.py b/mediagoblin/admin/routing.py index ea768c24..29515f12 100644 --- a/mediagoblin/admin/routing.py +++ b/mediagoblin/admin/routing.py @@ -14,8 +14,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from routes.route import Route - admin_routes = [ - Route('mediagoblin.admin.panel', '/panel', - controller='mediagoblin.admin.views:admin_processing_panel')] + ('mediagoblin.admin.panel', + '/panel', + 'mediagoblin.admin.views:admin_processing_panel')] -- cgit v1.2.3