graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #04019
[Question #227215]: Change local_settings.py location
New question #227215 on Graphite:
https://answers.launchpad.net/graphite/+question/227215
Hi,
I'm trying to setup mutilple clusters using CONF files which I generate dynamically. It's all working fine except for the webapp instance. I create the local_settings.py file in a tmp directory and include the directory at the start of the PYTHONPATH but when I run run-graphite-devel-server.py it reports: Could not import graphite.local_settings, using defaults!
I've tried adding the tmp directory using the --libs option but it still does not find the module.
I'm new to python so I'm not sure exactly how the PYTHONPATH is searched but is it something to do with the settings being imported with a relative path, 'graphite.local_settings'?
Thanks
Rob
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.