Skip to content

[Libraries] [Collections] [Backend] Collections model in Learning Core #225

Description

@bradenmacdonald

Define new Collection Model with the following fields in a new collections app in the openedx_learning repo:

  • id: models.AutoField(primary_key=True)
  • context: ForeignKey to the LearningPackage (which is a 1-to-1 with ContentLibrary) instance this collection belongs to
    • name
    • description
    • date_created
    • date_updated
    • enabled
    • allow_multiple
    • ... possibly other fields - see collections design in Figma

Create a python API for CRUD operations on these collection objects, and appropriate test cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions