CentreForDigitalHumanities / lettercraft

Lettercraft & Epistolary Performance in Medieval Europe
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Feature/sources #26

Closed lukavdplas closed 7 months ago

lukavdplas commented 7 months ago

This update adds a rudimentary model for describing source information.

Should close #21, close #22

This adds:

References include a GenericForeignKey field that allows them to refer to any object in the database. Currently, you can add references for people, actions, and letters. We could also consider allowing specific references for individual fields.

References can include a lot of extra data to describe exactly how the source describes the object, including Latin terminology used in the text. This version is intended as a proof of concept, but we'll probably want more fields in the future.

The description of Sources is very simple: just a name and a text field for details. I think it's enough for now, but we may want to expand that in the future. Ideally by reusing an existing system for bibliographies.