summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGavin Wahl <gwahl@fusionbox.com>2016-02-18 17:58:30 -0700
committerTim Graham <timograham@gmail.com>2016-09-12 20:30:34 -0400
commitf0f3de3c96694fd3602541fa6074930667509ac8 (patch)
tree5796a4c6d4fbca35d29d3faa28c041324723d481 /docs
parent4b9330ccc04575f9e5126529ec355a450d12e77c (diff)
Fixed #23155 -- Added request argument to user_login_failed signal.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/auth.txt8
-rw-r--r--docs/releases/1.11.txt3
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`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~