55 lines
1.7 KiB
Python
55 lines
1.7 KiB
Python
# Configuration for passerelle.
|
|
# You can override Passerelle default settings here
|
|
|
|
# Passerelle is a Django application: for the full list of settings and their
|
|
# values, see https://docs.djangoproject.com/en/1.7/ref/settings/
|
|
# For more information on settings see
|
|
# https://docs.djangoproject.com/en/1.7/topics/settings/
|
|
|
|
# WARNING! Quick-start development settings unsuitable for production!
|
|
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
|
|
|
|
# This file is sourced by "execfile" from /usr/lib/passerelle/debian_config.py
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
# DEBUG = False
|
|
|
|
# ADMINS = (
|
|
# ('User 1', 'poulpe@example.org'),
|
|
# ('User 2', 'janitor@example.net'),
|
|
# )
|
|
|
|
# ALLOWED_HOSTS must be correct in production!
|
|
# See https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
|
|
ALLOWED_HOSTS = ['*']
|
|
|
|
# If a tenant doesn't exist, the tenant middleware raise a 404 error. If you
|
|
# prefer to redirect to a specific site, use:
|
|
# TENANT_NOT_FOUND_REDIRECT_URL = 'http://www.example.net/'
|
|
|
|
# Database
|
|
# Warning: don't change ENGINE, it must be 'tenant_schemas.postgresql_backend'
|
|
# DATABASES['default']['NAME'] = 'passerelle'
|
|
# DATABASES['default']['USER'] = 'passerelle'
|
|
# DATABASES['default']['PASSWORD'] = '******'
|
|
# DATABASES['default']['HOST'] = 'localhost'
|
|
# DATABASES['default']['PORT'] = '5432'
|
|
|
|
LANGUAGE_CODE = 'fr-fr'
|
|
TIME_ZONE = 'Europe/Paris'
|
|
|
|
# Email configuration
|
|
# EMAIL_SUBJECT_PREFIX = '[passerelle] '
|
|
# SERVER_EMAIL = 'root@passerelle.example.org'
|
|
# DEFAULT_FROM_EMAIL = 'webmaster@passerelle.example.org'
|
|
|
|
# SMTP configuration
|
|
# EMAIL_HOST = 'localhost'
|
|
# EMAIL_HOST_USER = ''
|
|
# EMAIL_HOST_PASSWORD = ''
|
|
# EMAIL_PORT = 25
|
|
|
|
# HTTPS
|
|
# CSRF_COOKIE_SECURE = True
|
|
# SESSION_COOKIE_SECURE = True
|