From e64e658ae5217dfaefbe38c5bbebe478a05b3225 Mon Sep 17 00:00:00 2001 From: Jayram Date: Tue, 26 Jan 2021 12:21:23 +0530 Subject: [PATCH] add toggle annotations for DEFAULT_MOBILE_AVAILABLE added required annotations, detailed description and some nit added extra space for the toggle_description --- lms/envs/common.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lms/envs/common.py b/lms/envs/common.py index e51a5168de..e00c394a06 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -3432,6 +3432,16 @@ COURSE_CATALOG_VISIBILITY_PERMISSION = 'see_exists' COURSE_ABOUT_VISIBILITY_PERMISSION = 'see_exists' DEFAULT_COURSE_VISIBILITY_IN_CATALOG = "both" + +# .. toggle_name: DEFAULT_MOBILE_AVAILABLE +# .. toggle_implementation: DjangoSetting +# .. toggle_default: False +# .. toggle_description: This specifies if the courses are available for mobile by default. To make any individual +# course available for mobile one can set the value of Mobile Course Available to true in Advanced Settings from the +# studio when this is False. +# .. toggle_use_cases: open_edx +# .. toggle_creation_date: 2021-01-26 +# .. toggle_tickets: https://openedx.atlassian.net/browse/OSPR-1985 DEFAULT_MOBILE_AVAILABLE = False # Enrollment API Cache Timeout