Removed route, view and template file for "Submit Success" page
authorRasmus Larsson <flame@constantine.(none)>
Sat, 9 Jul 2011 00:47:06 +0000 (02:47 +0200)
committerRasmus Larsson <flame@constantine.(none)>
Sat, 9 Jul 2011 00:47:06 +0000 (02:47 +0200)
mediagoblin/submit/routing.py
mediagoblin/submit/views.py
mediagoblin/templates/mediagoblin/submit/success.html [deleted file]

index 3edbab707126304fcb611191eb6a16b68629d1c1..5585ecb0b1173f74baa8f2efe2553576ee1002d6 100644 (file)
@@ -18,7 +18,4 @@ from routes.route import Route
 
 submit_routes = [
     Route('mediagoblin.submit.start', '/',
-          controller='mediagoblin.submit.views:submit_start'),
-    Route('mediagoblin.submit.success', '/success/',
-          template='mediagoblin/submit/success.html',
-          controller='mediagoblin.views:simple_template_render')]
+          controller='mediagoblin.submit.views:submit_start')]
index 4c7476b0e3de1032d2786f795055cc4274e5b6d4..1848f5e58aa0844f4963d626ce26925ce4749e6d 100644 (file)
@@ -95,8 +95,3 @@ def submit_start(request):
         request,
         'mediagoblin/submit/start.html',
         {'submit_form': submit_form})
-
-
-def submit_success(request):
-    return render_to_response(
-        request, 'mediagoblin/submit/success.html', {})
diff --git a/mediagoblin/templates/mediagoblin/submit/success.html b/mediagoblin/templates/mediagoblin/submit/success.html
deleted file mode 100644 (file)
index afc9f9d..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{#
-# GNU MediaGoblin -- federated, autonomous media hosting
-# Copyright (C) 2011 Free Software Foundation, Inc
-#
-# 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 <http://www.gnu.org/licenses/>.
-#}
-{% extends "mediagoblin/base.html" %}
-
-{% block mediagoblin_content %}
-  Woohoo!  Submitted!
-{% endblock %}