Refs #26601 -- Deprecated old-style middleware.

This commit is contained in:
Tim Graham 2016-05-09 13:13:55 -04:00
parent 9baf692a58
commit ece4d24f8e
13 changed files with 50 additions and 4 deletions

View file

@ -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::
[