opendata / lmgtdfy

“Let Me Get That Data For You” catalogs the machine-readable data on a given domain name. [RETIRED]
MIT License
102 stars 12 forks source link

Admin section is unstyled #15

Open waldoj opened 9 years ago

waldoj commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

@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?