This topic describes how to enable course prerequisites in your instance of Open edX.
Course teams can set prerequisites for a course. Learners must complete the prerequisite courses before participating in the course.
To use this feature on your instance of Open edX, you must configure the Milestones application, then enable prerequisites in Studio and the Learning Management System.
For information about prerequisites, see the Building and Running an Open edX Course and Open edX Learner’s guides.
Note
Before proceeding, review Guidelines for Updating the Open edX Platform.
Set the value of MILESTONES_APP
in the lms.env.json
and
cms.env.json
files to True
.
# Milestones application flag
'MILESTONES_APP': True,
Save the the lms.env.json
and cms.env.json
files.
Run database migrations.
To enable prerequisite courses, you modify the lms.env.json
and
cms.env.json
files, which are located one level above the edx-platform
directory.
Set the value of ENABLE_PREREQUISITE_COURSES
in the
lms.env.json
and cms.env.json
files to true
.
# Prerequisite courses feature flag
'ENABLE_PREREQUISITE_COURSES': true,
Save the lms.env.json
and cms.env.json
files.