diff --git a/program/migrations/0070_image_is_use_explicitly_granted_by_author.py b/program/migrations/0070_image_is_use_explicitly_granted_by_author.py new file mode 100644 index 0000000000000000000000000000000000000000..aa071f21578b320fa9441d593b881e0496013c47 --- /dev/null +++ b/program/migrations/0070_image_is_use_explicitly_granted_by_author.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.2 on 2023-08-30 14:57 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("program", "0069_alter_license_url"), + ] + + operations = [ + migrations.AddField( + model_name="image", + name="is_use_explicitly_granted_by_author", + field=models.BooleanField(default=False), + ), + ] diff --git a/program/models.py b/program/models.py index a9a14eb858f0a529698eda65d548d6d215987efb..9ed90da51d1098e538b84b8a539daa8532292e93 100644 --- a/program/models.py +++ b/program/models.py @@ -130,6 +130,7 @@ class License(models.Model): class Image(models.Model): alt_text = models.TextField(blank=True, default="") credits = models.TextField(blank=True, default="") + is_use_explicitly_granted_by_author = models.BooleanField(default=False) height = models.PositiveIntegerField(blank=True, null=True) image = VersatileImageField( blank=True,