某一天清理项目废旧代码的时候 不小心注释了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/'