dcarley/graphite-rpms — Issue #1: Dashboard "Invalid theme" error
Author: dcarley
Created: 2011-10-12 14:21:12+00:00
State: open
Labels: 0.9.9

The dashboard presents the error dialog `Invalid theme 'default'`.

This is because it checks whether a CSS file of the corresponding theme name exists on the filesystem. It builds this path based on `settings.CSS_DIR` and subsequently `settings.CONTENT_DIR`, which wasn't patched in this release and still points to the `site-packages` code.

Will update `CONTENT_DIR` to `/usr/share/graphite/webapp/content`. It doesn't seem wise to modify `WEBAPP_DIR` is this is expected to be the parent directory of the Django app and is added to `sys.path`.