python報錯:You're using the staticfiles app without having set the required STATIC_URL setting

一. 問題描述 項目跑起來,報錯信息如下:django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the required STATIC_URL setting. 原因是 setting文件沒有配置好 二. 解決方案: setting文件中增加配置:STATIC
相關文章
相關標籤/搜索