Fixed profile link

This commit is contained in:
Sebastian Lohff 2017-04-15 16:51:07 +02:00
parent 04fe44da9a
commit 7825b530e3
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def profile(request):
auth_login(request, pwForm.user) auth_login(request, pwForm.user)
messages.success(request, "Password changed") messages.success(request, "Password changed")
return HttpResponseRedirect(reverse("profile")) return HttpResponseRedirect(reverse("user:profile"))
if not pwForm: if not pwForm:
pwForm = PasswordChangeForm(user=request.user) pwForm = PasswordChangeForm(user=request.user)