Django 1.10 and Middleware
<p>Once more: Django 1.10.</p>

<p>New middleware style. In the documentation we have:</p>

<p><a href="https://docs.djangoproject.com/en/1.10/releases/1.10/#new-style-middleware" rel="noreferrer">https://docs.djangoproject.com/en/1.10/releases/1.10/#new-style-middleware</a></p>

<p><a href="https://docs.djangoproject.com/en/1.10/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware" rel="noreferrer">https://docs.djangoproject.com/en/1.10/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware</a></p>

<p>I need Django Debug Toolbar. Release 1.5 is compatible with Django 1.10.</p>

<p>This is installation documentation: <a href="https://django-debug-toolbar.readthedocs.io/en/stable/installation.html" rel="noreferrer">https://django-debug-toolbar.readthedocs.io/en/stable/installation.html</a></p>

<p>The Django Debug Toolbar needs:</p>

<pre><code>MIDDLEWARE_CLASSES = [
    # ...
    'debug_toolbar.middleware.DebugToolbarMiddleware',
    # ...
] 
</code></pre>

<p>Well, I tried to add 'debug_toolbar.middleware.DebugToolbarMiddleware' to existing MIDDLEWARE. No success (the server doesn't run, some exceptions are risen).</p>

<p>Then I just renamed MIDDLEWARE into MIDDLEWARE_CLASSES.
Working.</p>

<p>What troubles me: I can't find in the documentation that MIDDLEWARE_CLASSES is supported. But everything works. </p>

<p>Could you give me some piece of advice: is it Ok to use MIDDLEWARE_CLASSES settings or not? And where to read about this.</p>