diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/3.0.txt | 4 | ||||
| -rw-r--r-- | docs/topics/auth/default.txt | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt index ac275b31b9..5e661d8943 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -59,7 +59,9 @@ Minor features :mod:`django.contrib.auth` ~~~~~~~~~~~~~~~~~~~~~~~~~~ -* ... +* The new ``reset_url_token`` attribute in + :class:`~django.contrib.auth.views.PasswordResetConfirmView` allows specifying + a token parameter displayed as a component of password reset URLs. :mod:`django.contrib.contenttypes` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index d7c0732794..691a7cbd24 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -1395,6 +1395,13 @@ 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. + * ``reset_url_token``: Token parameter displayed as a component of password + reset URLs. Defaults to ``'set-password'``. + + .. versionchanged:: 3.0 + + The ``reset_url_token`` class attribute was added. + **Template context:** * ``form``: The form (see ``form_class`` above) for setting the new user's |
