diff --git a/scipost_django/series/migrations/0009_collection_event_details.py b/scipost_django/series/migrations/0009_collection_event_details.py new file mode 100644 index 0000000000000000000000000000000000000000..ee35e4ce65a524d1aba19613b2df15516d4faec5 --- /dev/null +++ b/scipost_django/series/migrations/0009_collection_event_details.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.18 on 2023-09-21 15:19 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('series', '0008_alter_collections_related_names'), + ] + + operations = [ + migrations.AddField( + model_name='collection', + name='event_details', + field=models.TextField(blank=True, help_text='The details of the event, to be displayed as information about the collection in the paper.'), + ), + ] diff --git a/scipost_django/series/models.py b/scipost_django/series/models.py index 243eb26e6068b9e1f897cc99b94006b85b0b901a..dd0c2e20a0687df13f8ebcdfe21f8a567502b8e4 100644 --- a/scipost_django/series/models.py +++ b/scipost_django/series/models.py @@ -64,6 +64,13 @@ class Collection(models.Model): ) event_start_date = models.DateField(null=True, blank=True) event_end_date = models.DateField(null=True, blank=True) + event_details = models.TextField( + blank=True, + help_text=( + "The details of the event, to be displayed as information " + "about the collection in the paper." + ), + ) image = models.ImageField(upload_to="series/collections/images/", blank=True) expected_authors = models.ManyToManyField(