diff --git a/lms/envs/production.py b/lms/envs/production.py index 89bdc86dee7..3ea1c952e47 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -44,7 +44,10 @@ def get_env_setting(setting): raise ImproperlyConfigured(error_msg) # lint-amnesty, pylint: disable=raise-missing-from -######################### PRODUCTION DEFAULTS ############################## +################################################# PRODUCTION DEFAULTS ################################################ +# We configure some defaults (beyond what has already been configured in common.py) before loading the YAML file below. +# DO NOT ADD NEW DEFAULTS HERE! Put any new setting defaults in common.py instead, along with a setting annotation. +# TODO: Move all these defaults into common.py. DEBUG = False DEFAULT_TEMPLATE_ENGINE['OPTIONS']['debug'] = False @@ -59,8 +62,6 @@ def get_env_setting(setting): # for other warnings. SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') -###################################### MOVED UP ################################ - CELERY_RESULT_BACKEND = 'django-cache' BROKER_HEARTBEAT = 60.0 BROKER_HEARTBEAT_CHECKRATE = 2 @@ -125,7 +126,7 @@ def get_env_setting(setting): "/C=US/ST=Massachusetts/O=Massachusetts Institute of Technology/OU=Client CA v1/CN={0}/emailAddress={1}" ) -########################################################################### +####################################################################################################################### # A file path to a YAML file from which to load all the configuration for the edx platform CONFIG_FILE = get_env_setting('LMS_CFG')