4.17. Enabling Course Prerequisites#

This topic describes how to enable course prerequisites in your instance of Open edX.

4.17.1. Overview#

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.

4.17.2. Configure the Milestones Application#

  1. Set the value of MILESTONES_APP in the lms.yml and studio.yml files to True.

    # Milestones application flag
    'MILESTONES_APP': True,
    
  2. Save the lms.yml and studio.yml files.

  3. Run database migrations.

4.17.3. Enable Prerequisite Courses in Studio and the Learning Management System#

To enable prerequisite courses, you modify the lms.yml and studio.yml files, which are located one level above the edx-platform directory.

  1. Set the value of ENABLE_PREREQUISITE_COURSES in the lms.yml and studio.yml files to true.

    # Prerequisite courses feature flag
    'ENABLE_PREREQUISITE_COURSES': true,
    
  2. Save the lms.yml and studio.yml files.