| 871 | .. function:: password_reset_confirm(request[,uidb36, token, template_name, token_generator, set_password_form, post_reset_redirect]) |
| 872 | |
| 873 | Presents a form for entering a new password. |
| 874 | |
| 875 | **Optional arguments:** |
| 876 | |
| 877 | * ``uidb36``: The user's id encoded in base 36. This will default to |
| 878 | ``None``. |
| 879 | * ``token``: Token to check that the password is valid. This will default to ``None``. |
| 880 | * ``template_name``: The full name of a template to display the confirm |
| 881 | password view. Default value is :file:`registration/password_reset_confirm.html`. |
| 882 | * ``token_generator``: Instance of the class to check the password. This |
| 883 | will default to ``default_token_generator``, it's an instance of |
| 884 | ``django.contrib.auth.tokens.PasswordResetTokenGenerator``. |
| 885 | * ``set_password_form``: Form that will use to set the password. This will |
| 886 | default to ``SetPasswordForm``. |
| 887 | * ``post_reset_redirect``: URL to redirect after the password reset |
| 888 | done. This will default to ``None``. |
| 889 | |
| 890 | .. function:: password_reset_complete(request[,template_name]) |
| 891 | |
| 892 | Presents a view that informs that the password has been changed very well. |
| 893 | |
| 894 | **Optional arguments:** |
| 895 | |
| 896 | * ``template_name``: The full name of a template to display the view. |
| 897 | This will default to :file:`registration/password_reset_complete.html`. |
| 898 | |