summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTanmay Vijay <tanvijay27994@gmail.com>2020-04-23 18:38:00 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-04-24 08:21:51 +0200
commite43abbbd70a78d4c0023667589c4e143ed78807e (patch)
treed416f9413a5e8a7722c8a65d74f5d26f1acd7b97 /docs
parent2c4f6034616e695941fe6bdff7c38e1894da286d (diff)
Doc'd PasswordChangeView/PasswordResetView.success_url defaults.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/default.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
index b2221733bf..05c3a7f693 100644
--- a/docs/topics/auth/default.txt
+++ b/docs/topics/auth/default.txt
@@ -1194,7 +1194,7 @@ implementation details see :ref:`using-the-views`.
:file:`registration/password_change_form.html` if not supplied.
* ``success_url``: The URL to redirect to after a successful password
- change.
+ change. Defaults to ``'password_change_done'``.
* ``form_class``: A custom "change password" form which must accept a
``user`` keyword argument. The form is responsible for actually changing
@@ -1268,7 +1268,7 @@ implementation details see :ref:`using-the-views`.
``django.contrib.auth.tokens.PasswordResetTokenGenerator``.
* ``success_url``: The URL to redirect to after a successful password reset
- request.
+ request. Defaults to ``'password_reset_done'``.
* ``from_email``: A valid email address. By default Django uses
the :setting:`DEFAULT_FROM_EMAIL`.