原文:Error fetching command 'collectstatic': You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path. Command 'collectstatic' skipped

报错现象 报错解决 在 settings.py 中添加这一句话则可以解决 测试不在有问题 ...

2019-03-12 21:36 0 1173 推荐指数:

查看详情

django的collectstaticSTATIC_ROOT用法

1. python manage.py collectstatic做了什么 一句话,把静态文件收集到 STATIC_ROOT 中。 setting.py文件: python manage.py collectstatic在执行时,django默认会去查看 ...

Thu Mar 05 02:07:00 CST 2020 0 761
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM