Skip to content

Commit

Permalink
Redirige plutot vers le profile de l'utilisateur - #724
Browse files Browse the repository at this point in the history
  • Loading branch information
Eskimon committed Jun 13, 2014
1 parent 0a2e168 commit be73219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zds/member/views.py
Expand Up @@ -448,7 +448,8 @@ def update_avatar(request):
return redirect(reverse("zds.member.views.settings_profile"))
messages.success(request, "L'avatar a correctement été mis à jour.")

return redirect(reverse("zds.member.views.settings_profile"))
return redirect(reverse("zds.member.views.details",
args=[profile.user.username]))


@can_write_and_read_now
Expand Down

0 comments on commit be73219

Please sign in to comment.