Set Default Enable Subsection Prerequisite on Open edX
By default, Timed Exams feature not yet active when create a new courses. But this configuration can be override, for example want to set active or enable Timed Exams feature when create a new courses. Follow the steps below:
-
Go to Open edX server console.
-
Open and edit file
/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/course_module.py
. -
Find the following codes snippet:
... enable_subsection_gating = Boolean( display_name=_("Enable Subsection Prerequisites"), help=_( "Enter true or false. If this value is true, you can hide a " "subsection until learners earn a minimum score in another, " "prerequisite subsection." ), default=False, scope=Scope.settings ) ...
-
Then update the code, change part
default=False
from False to True. See the following codes snippet:... enable_subsection_gating = Boolean( display_name=_("Enable Subsection Prerequisites"), help=_( "Enter true or false. If this value is true, you can hide a " "subsection until learners earn a minimum score in another, " "prerequisite subsection." ), default=True, scope=Scope.settings ) ...
-
Restart LMS and CMS services.