STATIC_ROOT setting 出问题

来源:3-1 django目录介绍

qq_777_3

2019-04-25

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回答

Ethreal

2019-04-26

这个报错 不影响具体的使用 如果想消除的话 STATIC_ROOT = os.path.join(BASE_DIR, 'static')  在settings里面配置上这个试试

0
0

Python3.6+django+xadmin,打造在线教育平台

【毕设】Python 2.7到3.6 完美适配,Django升级2.0

3677 学习 · 4041 问题

查看课程