News for hackers. Stuff that matters.
Re:Organizing Django settings by EAMiller on Friday April 29, 2011 @04:26PM (#2498851)
We just do the inverse. In a local_settings.py we import settings - then set DJANGO_SETTINGS_MODULE=path.to.local_settings
Re:Organizing Django settings by timfletcher on Friday April 29, 2011 @04:39PM (#2498909)
This is by far the simplest and best way I've found. This also allows me to remove manage.py and use django-admin.py. I just set DJANGO_SETTINGS_MODULE in the virtualenv's postactivate hook file.