mirror of
https://github.com/django/django.git
synced 2025-05-04 14:14:37 +00:00
Doc'd PasswordChangeView/PasswordResetView.success_url defaults.
This commit is contained in:
parent
2c4f603461
commit
e43abbbd70
@ -1194,7 +1194,7 @@ implementation details see :ref:`using-the-views`.
|
|||||||
:file:`registration/password_change_form.html` if not supplied.
|
:file:`registration/password_change_form.html` if not supplied.
|
||||||
|
|
||||||
* ``success_url``: The URL to redirect to after a successful password
|
* ``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
|
* ``form_class``: A custom "change password" form which must accept a
|
||||||
``user`` keyword argument. The form is responsible for actually changing
|
``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``.
|
``django.contrib.auth.tokens.PasswordResetTokenGenerator``.
|
||||||
|
|
||||||
* ``success_url``: The URL to redirect to after a successful password reset
|
* ``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
|
* ``from_email``: A valid email address. By default Django uses
|
||||||
the :setting:`DEFAULT_FROM_EMAIL`.
|
the :setting:`DEFAULT_FROM_EMAIL`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user