Skip to content

Notation Model

Jacob deGroot-Maggetti edited this page Oct 11, 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.

Notation objects were present in OldCantus, where they were used to ensure that sources' notation fields are standardized throughout the database (whereas they might not be standardized if they had been represented as text fields).

Views

Notation objects have a single view: The Notation Detail View.

Fields

  • name: A string. Examples include 'Dutch Rheinmass - square', 'Dutch Rheinmass (Lotharingia)', 'English - neumatic', 'English - sine neumis', 'fl (???)'
  • 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()