29 lines
600 B
Python
29 lines
600 B
Python
# This file is sourced by "execfile" from passerelle.settings
|
|
|
|
import os
|
|
|
|
# Debian defaults
|
|
DEBUG = False
|
|
|
|
PROJECT_NAME = 'passerelle'
|
|
|
|
#
|
|
# hobotization (multitenant)
|
|
#
|
|
exec(open('/usr/lib/hobo/debian_config_common.py').read())
|
|
|
|
# disable django-mellon autologin
|
|
MELLON_OPENED_SESSION_COOKIE_NAME = None
|
|
|
|
# suds logs are buggy
|
|
LOGGING['loggers']['suds'] = {
|
|
'level': 'ERROR',
|
|
'filters': ['require_debug_true'],
|
|
'propagate': True,
|
|
}
|
|
|
|
exec(open('/etc/%s/settings.py' % PROJECT_NAME).read())
|
|
|
|
# run additional settings snippets
|
|
exec(open('/usr/lib/hobo/debian_config_settings_d.py').read())
|