在stackoverflow找到了解决方案:
To resolve this go to settings.py
where there is new-style MIDDLEWARE
(introduced in Django 1.10)
Change that to old-style MIDDLEWARE_CLASSES
在stackoverflow找到了解决方案:
To resolve this go to settings.py
where there is new-style MIDDLEWARE
(introduced in Django 1.10)
Change that to old-style MIDDLEWARE_CLASSES
转载于:https://www.cnblogs.com/lshedward/p/10736416.html