-
Notifications
You must be signed in to change notification settings - Fork 6
Provenance Model
Provenance (code) is a model in the main_app
app. It inherits from BaseModel.
Provenance objects are associated with sources. A provenance object represents the geographic area from which a source came.
Occasionally, more detail is required to specify a source's provenance. In situations where existing Provenance objects are too simple or too coarse-grained to accurately represent a source's provenance, further information is stored in a source's .provenance_notes
field.
Provenance objects were present in OldCantus, where they were used to ensure that sources' provenance fields are standardized throughout the database (whereas they might not be standardized if had they been represented as text fields).
Provenances have a single view: the Provenance Detail View.
-
name
: a string, representing the name of the place from which a source came. Examples includeYork
,Trier region
,Lubiąż
- 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()