Commit 5d8dfc69 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

fix admin users_modify view: upon success render user_info

parent 81c94f7b
......@@ -227,7 +227,7 @@ def users_modify(request, user_id, template_name='users_info.html', extra_contex
form = AdminProfileForm(request.POST, instance=user)
if form.is_valid():
return redirect(users_info,, template_name, extra_context)
return users_info(request,, template_name, extra_context)
return render_response(template_name,
form = form,
context_instance = get_context(request, extra_context))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment