[Answer]-Reset password in Django 1.6

1👍

âś…

The problem is that your path begins with 2 slashes, so it’s currently //reset/Nw/3u5-5654a2cadfa432b86577/ (when your path begins with just 1 slash, Django doesn’t use the first one to match against your pattern, which is why the “URL” it’s showing you in the error message only begins with 1 slash).

You probably have something like this in your code: <domain>/{{ obj.path }}

Solution:

Remove the extra slash from the path you’re returning, which will result in the path being /reset/Nw/3u5-5654a2cadfa432b86577/.

Leave a comment