diff --git a/apis_ontology/migrations/0013_alter_event_label_alter_versionevent_label.py b/apis_ontology/migrations/0013_alter_event_label_alter_versionevent_label.py new file mode 100644 index 0000000..64484c7 --- /dev/null +++ b/apis_ontology/migrations/0013_alter_event_label_alter_versionevent_label.py @@ -0,0 +1,26 @@ +# Generated by Django 5.1.3 on 2024-12-03 13:07 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("apis_ontology", "0012_alter_poster_label_alter_versionposter_label"), + ] + + operations = [ + migrations.AlterField( + model_name="event", + name="label", + field=models.CharField( + blank=True, default="", max_length=4096, verbose_name="Titel" + ), + ), + migrations.AlterField( + model_name="versionevent", + name="label", + field=models.CharField( + blank=True, default="", max_length=4096, verbose_name="Titel" + ), + ), + ] diff --git a/apis_ontology/models.py b/apis_ontology/models.py index a03bd86..68bcb5a 100644 --- a/apis_ontology/models.py +++ b/apis_ontology/models.py @@ -210,7 +210,12 @@ class Event(BaseEntity): https://cidoc-crm.org/html/cidoc_crm_v7.1.3.html#E5 """ - label = models.CharField(blank=True, default="", max_length=4096) + label = models.CharField( + blank=True, + default="", + max_length=4096, + verbose_name=_("Titel"), + ) class Meta: verbose_name = _("Veranstaltung")