password_reset_email not working


#1

When using the password reset form and typing in my personal e-mail address, the expected print statement with a link to resetting pops up in my terminal. That all works fine.

When I try it for the ‘fake’ e-mail addresses, it doesn’t print a reset link to the terminal. Is this because the e-mail addresses are fake and they are not verified/inactive to begin with? Can I therefore just ignore this and continue?

I’m a noob here, so this might be a dumb question.


#2

Is the ‘fake’ email address you are putting has been used to register in the past? If not then its an expected behavior. Django searched the database and returned no user object, so it did nothing.

This is a good feature of any web app. You dont want anyone to put some dummy email address and your app sends emails to that address.