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 中添加这一句话则可以解决
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
测试不在有问题
本文来自博客园,作者:羊驼之歌,转载请注明原文链接:https://www.cnblogs.com/shijieli/p/10519835.html