Browse Source

Fixed profile link

Sebastian Lohff 2 years ago
parent
commit
7825b530e3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dncore/views.py

+ 1
- 1
dncore/views.py View File

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

Loading…
Cancel
Save