summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@thenicols.net>2015-08-04 15:06:29 +0100
committerTim Graham <timograham@gmail.com>2015-08-04 13:57:45 -0400
commit07546333c10d41309ab8de827e6f13d0142b0dd6 (patch)
tree87bd616d7b657c4e8248c757b7ec9f02b893b6fb /docs
parent9f10c5cdf5dbee111556f2b800c624f0202f51e6 (diff)
[1.8.x] Fixed password_reset signature in docs
Backport of 6d7a9d96fe57597719bc40491e3d428f01757ef3 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/default.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
index 4e6fe073c1..3699554e29 100644
--- a/docs/topics/auth/default.txt
+++ b/docs/topics/auth/default.txt
@@ -1008,7 +1008,7 @@ implementation details see :ref:`using-the-views`.
* ``extra_context``: A dictionary of context data that will be added to the
default context data passed to the template.
-.. 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