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

Admin section is unstyled #15

Open
waldoj opened this issue Feb 18, 2015 · 2 comments
Open

Admin section is unstyled #15

waldoj opened this issue Feb 18, 2015 · 2 comments
Labels

Comments

@waldoj
Copy link
Member

waldoj commented Feb 18, 2015

The entire /admin/ section tries to call CSS from /static/admin/, but there is no such directory. As a result, the whole section is unstyled. Figure out why this is broken and fix it.

@knowtheory
Copy link
Contributor

Ah right, forgot that off the command list.

You need to run python manage.py collectstatic to gather all of the static files from the various different django modules and stick them into the static dir apache's serving out of.

@waldoj waldoj added the bug label Feb 21, 2015
@waldoj
Copy link
Member Author

waldoj commented Feb 21, 2015

@knowtheory, do you have any idea of why this error is produced when I run 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.

There's no STATIC_ROOT option anywhere in settings.py, but there is a STATICFILES_DIRS option. Is this a case of an incorrect variable name?

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

No branches or pull requests

2 participants