Spotter-VM/lxc-apps/cts/install/cts_conf/spotter.py

48 lines
980 B
Python
Raw Normal View History

2017-11-29 20:01:17 +01:00
import os
import sys
os.environ['ENVIRONMENT'] = 'dev'
os.environ['INSTANCE'] = 'local'
os.environ['PREFIX_URL'] = ''
from cts.settings.base import *
INSTANCE_NAME = 'Local'
INSTANCES = [
(INSTANCE_NAME, ''),
]
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'cts',
'USER': 'cts',
'PASSWORD': '${CTS_PWD}',
2017-12-26 09:33:47 +01:00
'HOST': 'postgres',
'PORT': '5432',
2017-11-29 20:01:17 +01:00
}
}
SECRET_KEY = '${CTS_SECRET}'
ADMINS = (
('Admin', 'admin@example.com'),
)
INTERNAL_IPS = ('127.0.0.1', )
2017-11-29 20:46:58 +01:00
ALLOWED_HOSTS = ['*']
2017-11-29 20:01:17 +01:00
PUBLIC_ROOT = os.path.join(PROJECT_ROOT, 'public')
SENDFILE_ROOT = os.path.join(PUBLIC_ROOT, 'static/protected')
COMPRESS_ENABLED = False
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
2018-08-02 10:41:40 +02:00
SERVER_EMAIL = 'admin@example.com'
2017-11-29 20:01:17 +01:00
CELERY_ALWAYS_EAGER = True
CELERY_EAGER_PROPAGATES_EXCEPTIONS = True
TIME_ZONE = 'Europe/Prague'
LANGUAGE_CODE = 'cs'
2019-10-03 21:29:19 +02:00
DEBUG = False
2017-11-29 20:01:17 +01:00
TEMPLATE_DEBUG = DEBUG