From 6d7a9d96fe57597719bc40491e3d428f01757ef3 Mon Sep 17 00:00:00 2001 From: Alasdair Nicol Date: Tue, 4 Aug 2015 15:06:29 +0100 Subject: [PATCH] Fixed password_reset signature in docs --- docs/topics/auth/default.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index e85b2879b7..8a642d20d3 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -1191,7 +1191,7 @@ implementation details see :ref:`using-the-views`. The ``current_app`` parameter is deprecated and will be removed in Django 2.0. Callers should set ``request.current_app`` instead. -.. function:: password_reset(request, is_admin_site=False, template_name='registration/password_reset_form.html', email_template_name='registration/password_reset_email.html', password_reset_form='registration/password_reset_subject.txt', token_generator=default_token_generator, post_reset_redirect=None, from_email=None, current_app=None, extra_context=None, html_email_template_name=None) +.. function:: password_reset(request, is_admin_site=False, template_name='registration/password_reset_form.html', email_template_name='registration/password_reset_email.html', subject_template_name='registration/password_reset_subject.txt', password_reset_form=PasswordResetForm, token_generator=default_token_generator, post_reset_redirect=None, from_email=None, current_app=None, extra_context=None, html_email_template_name=None) Allows a user to reset their password by generating a one-time use link that can be used to reset the password, and sending that link to the