5.4. Enrolment in a course

Enrolment in a course is not a difficult process. But since it is one of the core functionalities of this project, there needs to be documentation.

5.4.1. High level procedure

The following flowchart gives an overview of the involved views and how they interact with each other:

Interactions between views during the enrolment process

5.4.2. Which files are involved?

  • courses/views.py: The views that handle the enrolment and present success/failure to the user
  • courses/services.py: The function subscribe is responsible for the actual enrolment