Removed route, view and template file for "Submit Success" page

This commit is contained in:
Rasmus Larsson 2011-07-09 02:47:06 +02:00
parent e6fd112d42
commit eedc5428fd
3 changed files with 1 additions and 31 deletions

View 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')]

View 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', {})

View File

@ -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 %}