6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-16 15:51:04 +00:00
tutor/edxapp/config/production_cms.py

22 lines
697 B
Python
Raw Normal View History

2017-07-03 10:39:19 +00:00
from .aws import *
2017-07-19 07:25:33 +00:00
update_module_store_settings(MODULESTORE, doc_store_settings=DOC_STORE_CONFIG)
2017-07-03 10:39:19 +00:00
MEDIA_ROOT = "/openedx/uploads/"
FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
ALLOWED_HOSTS = [
ENV_TOKENS.get('CMS_BASE'),
2017-07-03 10:39:19 +00:00
]
# Don't rely on AWS for sending email
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
2017-07-03 10:39:19 +00:00
# We need to activate dev_env for logging, otherwise rsyslog is required (but
# it is not available in docker).
LOGGING = get_logger_config(LOG_DIR,
logging_env=ENV_TOKENS['LOGGING_ENV'],
debug=False,
dev_env=True,
service_variant=SERVICE_VARIANT)