采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
Met the same problem. After checking your answer I found that a python file was accidentally running, which caused this issue.
Now I've fixed the problem. Thanks!!!
额 好像是我运行了 哪个python脚本 而不是整个项目 请忽略此问题~~
好的,
登录后可查看更多问答,登录/注册
【毕设】Python 2.7到3.6 完美适配,Django升级2.0
16.0k 81
1.1k 4
2.0k 22
1.7k 20
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号