-
Notifications
You must be signed in to change notification settings - Fork 6
Chant model
Jacob deGroot-Maggetti edited this page Sep 14, 2022
·
18 revisions
The Chant model is a model in the main_app
app. It is defined in /main_app/models/chant.py
(code).
Chant inherits from the abstract BaseChant model: both the Chant model and the Sequence model must have the same fields, or else errors will occur when a user searches for chants/sequences in the database. Thus, all fields, properties and attributes for both Chants and Sequences are declared in BaseChant in order to keep the two models' fields harmonized, even when only one of the two models uses a particular field.
- inherited from BaseChant:
visible_status
title
incipit
siglum
folio
sequence
sequence_number
genre
rubrics
analecta_hymnica
indexing_notes
date
col1
col2
col3
ah_volume
source
cantus_id
image_link
json_info
marginalia
office
position
feast
mode
differentia
differentia_id
finalis
extra
chant_range
addendum
manuscript_full_text_std_spelling
manuscript_full_text_std_proofread
manuscript_full_text
manuscript_full_text_proofread
manuscript_syllabized_full_text
volpiano
volpiano_proofread
volpiano_notes
volpiano_intervals
cao_concordances
proofread_by
melody_id
search_vector
content_structure
next_chant
is_last_chant_in_feast
date_created
date_updated
created_by
last_updated_by
get_ci_url()
index_components()
related_chants_by_cantus_id()
get_next_chant()
- inherited from BaseChant:
save()
-
display_name
(property) get_absolute_url()
get_verbose_name()
get_verbose_name_plural()
get_fields_and_properties()