October 2009
2 posts
2 tags
Notating Environment in Django's settings.py
I answered a question (#1626326) on Stack Overflow recently about Django setttings.py files which reminded me I’m still undecided on what the best way to handle this issue. The issue is — How do you handle Django settings which change based on which environment the web app is running in? The Django documentation recommends using something to this effect. if DEBUG: VALUE = 'something'...