Skip to content
This repository has been archived by the owner on May 23, 2020. It is now read-only.

Static file problem #2

Open
dengwen168 opened this issue Jun 24, 2018 · 0 comments
Open

Static file problem #2

dengwen168 opened this issue Jun 24, 2018 · 0 comments

Comments

@dengwen168
Copy link

dengwen168 commented Jun 24, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant