在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
本文介绍了解决Django1.10版本中遇到的中间件配置问题的方法,需将settings.py文件中的MIDDLEWARE改为MIDDLEWARE_CLASSES,适用于从旧版Django升级到1.10及更高版本的情况。
在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
4451

被折叠的 条评论
为什么被折叠?