Skip to content

Commit

Permalink
docs: comments in lms envs prod
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmccormick committed Jan 16, 2025
1 parent d09b93d commit 6c24675
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 6c24675

Please sign in to comment.