Skip to content

Commit

Permalink
[3.0.x] Doc'd PasswordChangeView/PasswordResetView.success_url defaults.
Browse files Browse the repository at this point in the history
Backport of e43abbb from master
  • Loading branch information
tanmayvijay authored and felixxm committed Apr 24, 2020
1 parent 2673738 commit cb10c33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/topics/auth/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,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
Expand Down Expand Up @@ -1278,7 +1278,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`.
Expand Down

0 comments on commit cb10c33

Please sign in to comment.