django 报错 : django.core.exceptions.ImproperlyConfigured: The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting
错误原因有可能是在settings中静态文件目录设置的有问题
STATIC_ROOT=os.path.join(BASE_DIR,"static/")#错误 STATIC_ROOT=os.path.join(BASE_DIR,"/static/")#正确
本文来自博客园,作者:羊驼之歌,转载请注明原文链接:https://www.cnblogs.com/shijieli/p/10561631.html