diff --git a/cms/envs/common.py b/cms/envs/common.py index fa20f8d3ba8da152fc6224522a75b5e67ce99c75..338b131981b727c5ada02603a6b0a56dc256b6f0 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -173,9 +173,9 @@ STUDIO_SHORT_NAME = _("Studio") FEATURES = { 'GITHUB_PUSH': False, - # for consistency in user-experience, keep the value of the following 3 settings - # in sync with the ones in lms/envs/common.py + # See annotations in lms/envs/common.py for details. 'ENABLE_DISCUSSION_SERVICE': True, + # See annotations in lms/envs/common.py for details. 'ENABLE_TEXTBOOK': True, # When True, all courses will be active, regardless of start date diff --git a/lms/envs/common.py b/lms/envs/common.py index 92c079b58264d0608fd009e9c8fe5b71b61eeafb..bfee4ade0b0233b917165e766def454f611acbf7 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -112,8 +112,17 @@ FEATURES = { ## Doing so will cause all courses to be released on production 'DISABLE_START_DATES': False, - # for consistency in user-experience, keep the value of the following 3 settings - # in sync with the corresponding ones in cms/envs/common.py + # .. toggle_name: FEATURES['ENABLE_DISCUSSION_SERVICE'] + # .. toggle_implementation: DjangoSetting + # .. toggle_default: True + # .. toggle_description: When True, it will enable the Discussion tab in courseware for all courses. Setting this + # to False will not contain inline discussion components and discussion tab in any courses. + # .. toggle_use_cases: open_edx + # .. toggle_creation_date: 2012-08-14 + # .. toggle_warnings: If the discussion panel is present in the course and the value for this flag is False then, + # attempting to expand those components will cause errors. So, this should only be set to False with an LMS that + # is running courses that do not contain discussion components. + # For consistency in user-experience, keep the value in sync with the setting of the same name in the CMS. 'ENABLE_DISCUSSION_SERVICE': True, # .. toggle_name: FEATURES['ENABLE_TEXTBOOK'] @@ -123,7 +132,8 @@ FEATURES = { # .. toggle_use_cases: open_edx # .. toggle_creation_date: 2014-03-27 # .. toggle_target_removal_date: None - # .. toggle_warnings: None + # .. toggle_warnings: For consistency in user-experience, keep the value in sync with the setting of the same name + # in the CMS. # .. toggle_tickets: https://github.com/edx/edx-platform/pull/3064 'ENABLE_TEXTBOOK': True,