本文共 298 字,大约阅读时间需要 1 分钟。
某一天清理项目废旧代码的时候 不小心注释了STATIC_URL变量 然后就报错了
"You're using the staticfiles app "
django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the required STATIC_URL setting.解决办法
在settings.py 里面重新开启STATIC_URL = '/STATIC/'转载于:https://blog.51cto.com/3832546/2054287