4.16. Enabling Course Prerequisites

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

4.16.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.16.2. Configure the Milestones Application

  1. Set the value of MILESTONES_APP in the lms.env.json and cms.env.json files to True.

    # Milestones application flag
    'MILESTONES_APP': True,
    
  2. Save the the lms.env.json and cms.env.json files.

  3. Run database migrations.

4.16.3. Enable Prerequisite Courses in Studio and the Learning Management System

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.

  1. 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,
    
  2. Save the lms.env.json and cms.env.json files.