This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
cg14-osc/home:entrouvert:cg14-dev/passerelle/cg14_config.py

35 lines
934 B
Python

# This file is sourced by "execfile" from passerelle.settings
SECRET_KEY = file('/etc/passerelle/secret').read()
LANGUAGE_CODE = 'fr-fr'
TIME_ZONE = 'Europe/Paris'
STATIC_ROOT = '/usr/share/passerelle/static'
STATIC_URL = '/passerelle/static/'
MEDIA_ROOT = '/var/lib/passerelle/media'
MEDIA_URL = '/passerelle/media/'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'passerelle',
}
}
# add solis and makorepost just before gadjo
INSTALLED_APPS = INSTALLED_APPS[:-1] + (
'solis',
'makorepost',
'gadjo',
)
# where to find templates for makorepost objects
MAKO_TEMPLATES_DIRS = (
os.path.join(PACKAGE_PATH, 'apps', 'makorepost', 'templates.mako'),
os.path.join(PACKAGE_PATH, 'apps', 'solis', 'templates.mako'),
)
MAKO_TEMPLATES_MODULES = None # store generated Mako module files in this directory (optional)
execfile('/etc/passerelle/config.py')