From 02542d54e1c0556cee79c9f1d75c5dc64aeb18c8 Mon Sep 17 00:00:00 2001 From: Caleb Forbes Davis V Date: Wed, 6 Jul 2011 17:14:07 -0500 Subject: [PATCH] edit profile submit redirects to user home page --- mediagoblin/edit/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mediagoblin/edit/views.py b/mediagoblin/edit/views.py index 5a7aa4bd..5cfe904e 100644 --- a/mediagoblin/edit/views.py +++ b/mediagoblin/edit/views.py @@ -87,7 +87,9 @@ def edit_profile(request): messages.add_message(request, messages.SUCCESS, 'Profile edited!') - return redirect(request, "mediagoblin.edit.profile") + return redirect(request, + 'mediagoblin.user_pages.user_home', + user=user['username']) return render_to_response( request, -- 2.25.1