Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Genre.mass_office field to a choices field #1590

Open
dchiller opened this issue Aug 9, 2024 · 0 comments
Open

Change Genre.mass_office field to a choices field #1590

dchiller opened this issue Aug 9, 2024 · 0 comments

Comments

@dchiller
Copy link
Contributor

dchiller commented Aug 9, 2024

This is currently a CharField, but as a field that should have only a few options ("Mass", "Office", or "Mass/Office") this could be a choices field. In part, this would clean up the inconsistent formatting in the Mass/Office field on https://cantusdatabase.org/genres/:

image

The existing value of that field will need to be used to populate the new field (perhaps a one-time management command).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant