diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/auth.txt | 8 | ||||
| -rw-r--r-- | docs/releases/1.11.txt | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index 38f18b6dc8..69e3f40514 100644 --- a/docs/ref/contrib/auth.txt +++ b/docs/ref/contrib/auth.txt @@ -479,6 +479,14 @@ can be used for notification when a user logs in or out. authentication backend. Credentials matching a set of 'sensitive' patterns, (including password) will not be sent in the clear as part of the signal. + ``request`` + The :class:`~django.http.HttpRequest` object, if one was provided to + :func:`~django.contrib.auth.authenticate`. + + .. versionchanged:: 1.11 + + The ``request`` argument was added. + .. _authentication-backends-reference: Authentication backends diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index a6edfcdf25..3cd56c515e 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -117,6 +117,9 @@ Minor features which in turn passes it to the authentication backend if it accepts a ``request`` argument. +* The :func:`~django.contrib.auth.signals.user_login_failed` signal now + receives a ``request`` argument. + :mod:`django.contrib.contenttypes` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
