python manage.py collectstatic
报错
django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
https://docs.djangoproject.com/en/1.10/ref/settings/#static-files
在settings.py中增加
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
---------------------
作者:雜貨鋪老闆
来源:CSDN
原文:https://blog.csdn.net/zahuopuboss/article/details/53854649
版权声明:本文为博主原创文章,转载请附上博文链接!