Default settings_locale file
We should provide a default settings_locale file and not an exmaple one.
The problem is when you add a option in settings_locale.example.py
, if people don't pay attention they will not add this option to their settings_locale.py
. What we should do is to have two files in the poject :
-
settings.py
the main settings file for Django. It contains
from default_settings import *
try:
from local_settings import *
except:
pass
-
default_settings.py
which is part of the git project and contains all possible values with a default value -
local_settings.py
which is NOT part of the git project and conntains the settings you want to override in you setup