Django-Blog-Python-Learning icon indicating copy to clipboard operation
Django-Blog-Python-Learning copied to clipboard

Static file problem

Open dengwen168 opened this issue 6 years ago • 0 comments

hi, i tried to run"python manage.py collectstatic", i got the error

You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path. so i set STATIC_ROOT=os.path.join(BASE_DIR, 'static')

i got the following error:

The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting

could you please tell me how to selve this problem? thanks.

dengwen168 avatar Jun 24 '18 14:06 dengwen168