From 2a5cd14e68657e698f4bc6e3c86b3d35985cf940 Mon Sep 17 00:00:00 2001 From: Jayram Date: Wed, 3 Feb 2021 20:24:14 +0530 Subject: [PATCH] add annotations for ALWAYS_REDIRECT_HOMEPAGE_TO_DASHBOARD_FOR_AUTHENTICATED_USER feature flag --- lms/envs/common.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lms/envs/common.py b/lms/envs/common.py index 978105e95d..35df83c476 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -390,9 +390,15 @@ FEATURES = { # Prevent concurrent logins per user 'PREVENT_CONCURRENT_LOGINS': True, - # When a logged in user goes to the homepage ('/') should the user be - # redirected to the dashboard - this is default Open edX behavior. Set to - # False to not redirect the user + # .. toggle_name: FEATURES['ALWAYS_REDIRECT_HOMEPAGE_TO_DASHBOARD_FOR_AUTHENTICATED_USER'] + # .. toggle_implementation: DjangoSetting + # .. toggle_default: True + # .. toggle_description: When a logged in user goes to the homepage ('/') the user will be redirected to the + # dashboard page when this flag is set to True - this is default Open edX behavior. Set to False to not redirect + # the user. + # .. toggle_use_cases: open_edx + # .. toggle_creation_date: 2014-09-16 + # .. toggle_tickets: https://github.com/edx/edx-platform/pull/5220 'ALWAYS_REDIRECT_HOMEPAGE_TO_DASHBOARD_FOR_AUTHENTICATED_USER': True, # .. toggle_name: FEATURES['ENABLE_COURSE_SORTING_BY_START_DATE']