Skip to content

Commit

Permalink
Merge pull request #1596 from lucasmarchd01/add-migration-28
Browse files Browse the repository at this point in the history
Add missing migration file
  • Loading branch information
lucasmarchd01 authored Aug 13, 2024
2 parents ee12c96 + 2803e64 commit 5ae61a9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion django/cantusdb_project/main_app/admin/chant.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_source_siglum(self, obj):
"incipit",
"cantus_id",
"id",
"source__holding_institution__siglum"
"source__holding_institution__siglum",
)

readonly_fields = READ_ONLY + ("incipit",)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by Django 4.2.14 on 2024-08-12 14:54

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("main_app", "0027_rename_office_service_rename_office_chant_service_and_more"),
]

operations = [
migrations.AlterModelOptions(
name="institution",
options={"ordering": ["country", "city", "name"]},
),
migrations.AlterField(
model_name="institutionidentifier",
name="identifier_type",
field=models.IntegerField(
choices=[
(1, "RISM Online"),
(2, "VIAF"),
(3, "Wikidata"),
(4, "GND (Gemeinsame Normdatei)"),
(5, "Bibliothèque national de France"),
(6, "Library of Congress"),
(7, "Digital Image Archive of Medieval Music"),
]
),
),
]

0 comments on commit 5ae61a9

Please sign in to comment.