mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Refs #25187 -- Fixed AuthBackend.authenticate() compatibility for signatures that accept a request kwarg.
This commit is contained in:
parent
8d4885ede5
commit
c31e7ab5a4
4 changed files with 47 additions and 10 deletions
|
@ -52,8 +52,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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue