You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.

django报错:

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

处理:

配置文件添加:STATIC_ROOT = os.path.join(BASE_DIR, "static")

_Kc
发布了69 篇原创文章 · 获赞 9 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/qq_26775359/article/details/85331986