Fixed profile link
This commit is contained in:
parent
04fe44da9a
commit
7825b530e3
|
@ -28,7 +28,7 @@ def profile(request):
|
|||
auth_login(request, pwForm.user)
|
||||
messages.success(request, "Password changed")
|
||||
|
||||
return HttpResponseRedirect(reverse("profile"))
|
||||
return HttpResponseRedirect(reverse("user:profile"))
|
||||
|
||||
if not pwForm:
|
||||
pwForm = PasswordChangeForm(user=request.user)
|
||||
|
|
Loading…
Reference in New Issue