Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working collectstatic #14

Closed
tanrax opened this issue Jan 10, 2016 · 1 comment
Closed

Not working collectstatic #14

tanrax opened this issue Jan 10, 2016 · 1 comment

Comments

@tanrax
Copy link
Contributor

tanrax commented Jan 10, 2016

I did not see the Admin styles. So I execute:

docker-compose run web /usr/local/bin/python manage.py collectstatic

But it returns:

django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
@mjhea0
Copy link
Contributor

mjhea0 commented Jan 10, 2016

update the settings.py file with:

STATIC_URL = '/static/'
# STATICFILES_DIRS = (
#     os.path.join(BASE_DIR, 'static'),
# )
# print(STATICFILES_DIRS)
STATIC_ROOT = os.path.join(BASE_DIR, 'static')

@mjhea0 mjhea0 closed this as completed Jan 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants