当前位置: 首页 > 工具软件 > staticfiles > 使用案例 >

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

伯向晨
2023-12-01

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")

 类似资料:

相关阅读

相关文章

相关问答