Error Importing Settings
eligundry opened this issue · 1 comments
eligundry commented
When I try to start the application, I get this error:
Traceback (most recent call last):
File "manage.py", line 11, in <module>
import settings
File "/home/eli/Code/remesh/settings.py", line 127, in <module>
from local_settings import *
ImportError: No module named local_settings
I guess my question is this: how do we set up environment specific settings? Your blog post didn't really get into that aspect.
josephmisiti commented
Sorry - I'll add more instructions to the README tomorrow. The issue is the settings.py file is setup with a import to local_setting.py in the very bottom. That way, you can add anything to your local_settings.py file and override what is in settings. It is a nice hack to separate dev, staging, and production-level settings.