mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #26601 -- Added a warning if both MIDDLEWARE AND MIDDLEWARE_CLASSES are set.
This commit is contained in:
parent
ece4d24f8e
commit
354acd04af
4 changed files with 38 additions and 0 deletions
|
@ -266,6 +266,9 @@ that might occur as a result of a version upgrade.
|
|||
put the values of the following settings into your defaults ``TEMPLATES``
|
||||
dict: ``TEMPLATE_DIRS``, ``TEMPLATE_CONTEXT_PROCESSORS``, ``TEMPLATE_DEBUG``,
|
||||
``TEMPLATE_LOADERS``, ``TEMPLATE_STRING_IF_INVALID``.
|
||||
* **1_10.W001**: The ``MIDDLEWARE_CLASSES`` setting is deprecated in Django
|
||||
1.10 and the :setting:`MIDDLEWARE` setting takes precedence. Since you've
|
||||
set ``MIDDLEWARE``, the value of ``MIDDLEWARE_CLASSES`` is ignored.
|
||||
|
||||
Admin
|
||||
-----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue