diff options
| author | Tim Graham <timograham@gmail.com> | 2017-02-24 10:15:41 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-02-24 13:59:34 -0500 |
| commit | 53f5dc10cdc0c1fbeb48b2d98fbdd26c1996ec59 (patch) | |
| tree | 619c49c5d96373976673c4a7079f24fc66b05c4b /docs | |
| parent | 0417bf47a6fd00d9a6a4c711780ce01f35f62d59 (diff) | |
[1.11.x] Refs #25187 -- Fixed AuthBackend.authenticate() compatibility for signatures that accept a request kwarg.
Backport of c31e7ab5a4b062225bc4f6b5cae065325dd30f1f from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 4 | ||||
| -rw-r--r-- | docs/releases/1.11.txt | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 42db85127f..f679ad9256 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -38,8 +38,8 @@ details on these changes. * ``DatabaseIntrospection.get_indexes()`` will be removed. -* The ``authenticate()`` method of authentication backends will require a - ``request`` argument. +* The ``authenticate()`` method of authentication backends will require + ``request`` as the first positional argument. * The ``django.db.models.permalink()`` decorator will be removed. diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index 3fb4968e23..eb983de0dc 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -796,7 +796,8 @@ Miscellaneous * :func:`~django.contrib.auth.authenticate` now passes a ``request`` argument to the ``authenticate()`` method of authentication backends. Support for - methods that don't accept ``request`` will be removed in Django 2.1. + methods that don't accept ``request`` as the first positional argument will + be removed in Django 2.1. * The ``USE_ETAGS`` setting is deprecated in favor of :class:`~django.middleware.http.ConditionalGetMiddleware` which now adds the |
