Password reset not sending token


#1

I can’t seem to able to get the app to output an email with the token. I’m at a loss.

here’s my here’s some code from the urls.py:

url(r’^accounts/password/reset/(?P[0-9A-Za-z]+)-(?P.+)/$’,
password_reset_confirm,
{‘template_name’:‘registration/password_reset_confirm.html’},
name=“password_reset_confirm”),


#2

Can you put the code instead in pastebin.com with the formatting exactly as you have it?

Have other emails outputted to the console? Did you make sure you have that set up already?

Any errors?


#3

@limedaring - Here is the pastebin link to my urls.py.

This is the output that I’m getting on the console:

You’re receiving this email because you requested a password
reset. Please go to the following page and choose a new password:

http://localhost:8000{% url
’django.contrib.auth.views.password_reset_confirm’
uidb64=uid token = token %}

Your username, in case you’ve forgotten: demian


#4

I think you missed adding the link to pastebin. :)