The Django installation must be configured to be able to send E-mail
The user must have a valid E-mail address stored in his User object
The forgotten password page allows the user to be specified (username or you can fancy it up)
The Django installation records a special token in association with the user (also an expiration time), and sends a link that includes that token to the user's E-mail address.
The user sees the E-mail, and assuming that is was him, rather than someone else trying to steal his account, he clicks on the link.
The view there gets the token as an argument, uses it to look up the reset object, and if it isn't expired by this time, offers password and confirmation fields that it will use to reset the user's password.
It's a complex process for security's sake. Hopefully the overview above will help you to understand the documentation.
Bill
On Mon, Jan 28, 2013 at 11:55 AM, Sarfraz ahmad <sarfrazdjango@gmail.com> wrote:
How can i use django password reset method........
unable to understand the django documentation about password reset.....
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment