summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-08-05 10:52:30 -0400
committerTim Graham <timograham@gmail.com>2016-08-05 10:56:04 -0400
commitbcdf6c190ad835a434dd2b2273fa604beec7b956 (patch)
treedfe48493dfdba5055bea37bb803df03d0d95a78b
parent4a0c9e0545231fcf5fca1ec37cb292486c4c0767 (diff)
[1.10.x] Fixed #26986 -- Documented force_login() delegation to auth backends.
Backport of 3c20aa49d746471ea55e106796cc1d349a5769b8 from master
-rw-r--r--docs/releases/1.10.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt
index 7a2b059ca2..dde54e936c 100644
--- a/docs/releases/1.10.txt
+++ b/docs/releases/1.10.txt
@@ -827,6 +827,9 @@ Miscellaneous
* In light of the previous change, the test client's
:meth:`~django.test.Client.login()` method no longer always rejects inactive
users but instead delegates this decision to the authentication backend.
+ :meth:`~django.test.Client.force_login()` also delegates the decision to the
+ authentication backend, so if you're using the default backends, you need to
+ use an active user.
* :func:`django.views.i18n.set_language` may now return a 204 status code for
AJAX requests.