Mar 6, 2010

Supplementing settings in settings_local

Vladimir Sidorenko

For local project settings, I use old trick with settings_local file:


So in we can override variables from I didn't know how to supplement them. For example how to add line to INSTALLED_APPSwithout copying whole list.

Yesterday I finally understood that I can import settings from settings_local:



Now, couple years later I prefer having separate settings file for different environments, as it is described in 2 scoops of django.

More thoughts