Skip to content

Notation Model

Jacob deGroot-Maggetti edited this page Sep 16, 2022 · 10 revisions

Notation (code) is a model in the main_app app. It inherits from BaseModel.

Notation objects are associated with sources. A notation object represents a characteristic way of writing neumes - the neume shapes used, whether or not they are drawn on staff lines, and so on.

There are no views associated with Notation objects. Notation objects were present in OldCantus, and seem to have been used to ensure that sources' notation fields are standardized throughout the database (whereas they might not be standardized if they are represented as text fields).

Fields

  • name
  • inherited from BaseModel:
    • date_created
    • date_updated
    • created_by
    • last_updated_by

Methods

  • inherited from BaseModel:
    • save()
    • display_name (property)
    • get_absolute_url()
    • get_verbose_name()
    • get_verbose_name_plural()
    • get_fields_and_properties()