I upgraded my Django version from 1.11.5
to 2.0
and I\'m trying to solve different deprecated element.
However, even if my CSS/bootstrap st
MIDDLEWARE_CLASSES has been deprecated since Django 1.10 and was removed completely in version 2.0. That means you have no middleware at all.
You should use the MIDDLEWARE setting instead; note, that uses new-style middleware, you might need to upgrade your custom middleware class.
So the MIDDLEWARE_CLASSES
changed to MIDDLEWARE
https://docs.djangoproject.com/en/2.0/topics/http/middleware/#activating-middleware