-
Notifications
You must be signed in to change notification settings - Fork 6
Office Model
Jacob deGroot-Maggetti edited this page Oct 11, 2022
·
12 revisions
Office (code) is a model in the main_app
app. It inherits from BaseModel.
Offices are associated with individual chants. Office objects represent liturgical events that occur at set times during the day; any particular chant is sung on a specific day of the year at a specific office on that day. For more information on liturgical offices, refer to the Wikipedia article on canonical hours.
Office has a Detail view and a List view.
-
name
: a short string: a one- or two-character abbreviation used to identify a specific office (for example,C
represents Compline whileV2
represents Second Vespers. -
description
: a string: the name of the office spelled in full (e.g.Compline
,Second Vespers
), or a description/clarification of thename
field (for example, the description of the office with nameAD
isUnknown Office (à déterminer)
) - inherited from BaseModel:
date_created
date_updated
created_by
last_updated_by
- inherited from BaseModel:
save()
-
display_name
(property) get_absolute_url()
get_verbose_name()
get_verbose_name_plural()
get_fields_and_properties()