Move to the new MIDDLEWARE setting
Move to the new MIDDLEWARE setting

Django 1.10 introduced a new way to make middlewares, and to avoid
breaking compatibility they added the MIDDLEWARE setting to enable them.

Django's built-in middlewares are all compatible with both the old and
new ways, and therefore can be used with either MIDDLEWARE or
MIDDLEWARE_CLASSES.

However, one can assume that the old way will eventually get removed, so
we need to move to the new way eventually.

Fortunately, we only use Django's builtin middlewares, we don't have any
custom ones, so we only have to actually switch to the new setting. :)

https://docs.djangoproject.com/en/1.10/topics/http/middleware/

ideascube/ideascube,ideascube/ideascube,ideascube/ideascube,ideascube/ideascube