combo/debian/debian_config.py

25 lines
582 B
Python

# This file is sourced by "execfile" from combo.settings
import os
PROJECT_NAME = 'combo'
#
# hobotization (multitenant)
#
exec(open('/usr/lib/hobo/debian_config_common.py').read())
# add custom hobo agent module
INSTALLED_APPS = ('hobo.agent.combo', ) + INSTALLED_APPS
# add statics_hash context processor
TEMPLATES[0]['OPTIONS']['context_processors'].append('hobo.context_processors.statics_hash')
#
# local settings
#
exec(open(os.path.join(ETC_DIR, 'settings.py')).read())
# run additional settings snippets
exec(open('/usr/lib/hobo/debian_config_settings_d.py').read())