From e0bb4ad4dd60b12230fa9bc27ea3e5fe91b9a417 Mon Sep 17 00:00:00 2001 From: cahrens Date: Tue, 28 May 2013 12:04:48 -0400 Subject: [PATCH] Preview url is read in from environment file. --- cms/envs/aws.py | 2 +- cms/envs/common.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cms/envs/aws.py b/cms/envs/aws.py index 12d661a21c..f6064229e6 100644 --- a/cms/envs/aws.py +++ b/cms/envs/aws.py @@ -81,7 +81,7 @@ with open(ENV_ROOT / CONFIG_PREFIX + "env.json") as env_file: ENV_TOKENS = json.load(env_file) LMS_BASE = ENV_TOKENS.get('LMS_BASE') -MITX_FEATURES['PREVIEW_LMS_BASE'] = ENV_TOKENS.get('PREVIEW_LMS_BASE') +# Note that MITX_FEATURES['PREVIEW_LMS_BASE'] gets read in from the environment file. SITE_NAME = ENV_TOKENS['SITE_NAME'] diff --git a/cms/envs/common.py b/cms/envs/common.py index 58f39efa7e..7e2fc12ba1 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -39,9 +39,8 @@ MITX_FEATURES = { 'STUDIO_NPS_SURVEY': True, 'SEGMENT_IO': True, - # Enable URL that shows information about the status of variuous services - 'ENABLE_SERVICE_STATUS': False, - 'PREVIEW_LMS_BASE' : None + # Enable URL that shows information about the status of various services + 'ENABLE_SERVICE_STATUS': False } ENABLE_JASMINE = False