graphite-project/graphite-web — pull request #937 by andrewbaxter (2014-09-05 08:36:31+00:00)
Title: Build the default database path from STORAGE_DIR

Currently, the default database path is hardcoded to /opt. In a
development installation, graphite-web may be installed anywhere
and will fail to start following the development installation
instructions. Using STORAGE_DIR aligns this value with the
comments earlier in the file.

- Changed definition of DATABASES

- Moved DATABASES definition to after STORAGE_DIR definition.