CentreForDigitalHumanities / lettercraft

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

Feature/source model extension #55

Closed XanderVertegaal closed 2 months ago

XanderVertegaal commented 2 months ago

Closes #34

As described in the issue, this PR:

The fields contents_date and written_date on the Source model simply inherit LettercraftDate.

Existing data in Source.bibliographical_info is migrated to Source.edition_title. Existing data in [model inheriting EntityDescription].source_location is migrated to page (not a perfect match, but best effort). Existing data in [model inheriting DescriptionField].source_location is unfortunately lost, but the roughly the same information should be kept on the 'parent' model.