run manage task报错
来源:3-3 django orm介绍与model设计
慕设计5354537
2017-08-09
Tools>Run Manage.py Task后console提示如下错误,虽然报错,但也能同步到数据库,这是为啥?
Error fetching command 'collectstatic': You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
Command 'collectstatic' skipped
写回答
1回答
-
慕设计5354537
提问者
2017-08-09
解决了,在setings中添加如下配置:STATIC_ROOT = os.path.join(BASE_DIR, "static/")就没有这个错误
112017-08-10
相似问题