mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Refs #26601 -- Deprecated old-style middleware.
This commit is contained in:
parent
9baf692a58
commit
ece4d24f8e
13 changed files with 50 additions and 4 deletions
|
@ -1860,6 +1860,12 @@ A list of middleware to use. See :doc:`/topics/http/middleware`.
|
|||
``MIDDLEWARE_CLASSES``
|
||||
----------------------
|
||||
|
||||
.. deprecated:: 1.10
|
||||
|
||||
Old-style middleware that uses ``settings.MIDDLEWARE_CLASSES`` are
|
||||
deprecated. :ref:`Adapt old, custom middleware <upgrading-middleware>` and
|
||||
use the :setting:`MIDDLEWARE` setting.
|
||||
|
||||
Default::
|
||||
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue