When you install a new django application, you have to add/modify your settings.py module.
For a project I\'m trying to make that module a python subpackage and crea
I have the same structure of settings files and I do the following to import the settings of the submodules:
def load_settings_file(file):
file = open(os.path.join(INSTALL_DIR, '', 'settings', file + '.py'))
content = file.read()
file.close()
return content
for submodule in ['base', 'admin', 'feincms']:
exec(load_settings_file(submodule))