Skip to content

Create prerequisite for courses #816

Description

@karbassi

Allow Courses to have prerequisites.

For example, JS 1 has no other course prerequisites. However, JS 2 has a prerequisite of JS 1. JS 3 has JS 2, and so on.

To Do

  • Modify the Course model to allow for specifying a classes prerequisites
  • When a guardian goes to register a student for a session, allow the registration only if the student has met the class prerequisites, which should use the criteria:
    • Student has at least one order for an active session that was a prerequisite class
    • And that session was in the past
    • And there is a non null check-in date
  • Update the programs template, removing hardcoded prerequisites and replacing with the prerequisites defined via the data model
    • ./website/weallcode/templates/weallcode/programs.html
  • Display the required prerequisites in the class template
    • ./website/weallcode/templates/weallcode/snippets/class.html

Research

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions