Hacker News new | ask | show | jobs
by neelesh 6042 days ago
Agree. What we probably need is a nice way to switch between deployment/development setups, possibly by splitting settings.py like rails
1 comments

the usual trick is to use a local_settings.py.

put all of your environment-specific variables in there, and put 'from local_settings.py import *' at the end of your settings.py