DDMAL / CantusDB

A new site for Cantus Database running under Django.
https://cantusdatabase.org
MIT License
5 stars 6 forks source link

Add institutions model #1514

Closed ahankinson closed 3 months ago

ahankinson commented 4 months ago

This PR adds an institution model, an institution identifiers model, and adjusts the source model to accept a FK relationship to the holding institution.

The fields are set to blank=True, null=True so that they can be added without triggering problems for existing data. I believe the intention is that every institution will have a name and a sigla.

This PR uses the new layout of the admin site to add the new models, so should be merged after #1513

Fixes #1505

ahankinson commented 4 months ago

Just realized that with the slglum, I can probably also add the country to the institution, but this will need its own field.

ahankinson commented 3 months ago

This is now ready for review

ahankinson commented 3 months ago

Request to add 'former sigla' field from Debra.

ahankinson commented 3 months ago

@dchiller @lucasmarchd01 this is ready for review when you get a moment