【发布时间】:2020-04-18 20:26:47
【问题描述】:
HTTP GET /admin/ 500 [0.00, 127.0.0.1:51425] 回溯(最近一次通话最后): 文件“C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\daphne\http_protocol.py”,第 180 行,正在处理中 “服务器”:self.server_addr, ModuleNotFoundError:没有名为“django.utils.six”的模块
已安装 Django 3。不再支持 Django.utils.six。想法?
【问题讨论】:
-
django.utils.six模块从django-3.0开始被移除。检查this answer to resolve the issue