diff --git a/program/migrations/0069_alter_license_url.py b/program/migrations/0069_alter_license_url.py new file mode 100644 index 0000000000000000000000000000000000000000..205ee1a6843d0f1b27f42c049c53605e4f96a00a --- /dev/null +++ b/program/migrations/0069_alter_license_url.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", "0068_license_needs_author_and_more"), + ] + + operations = [ + migrations.AlterField( + model_name="license", + name="url", + field=models.URLField(blank=True, default=""), + ), + ] diff --git a/program/models.py b/program/models.py index fb7a9196856b8270babd5640c138a45e0b28878d..a9a14eb858f0a529698eda65d548d6d215987efb 100644 --- a/program/models.py +++ b/program/models.py @@ -118,7 +118,7 @@ class License(models.Model): name = models.CharField(max_length=64, help_text="Name of the license") needs_author = models.BooleanField(default=True) requires_express_permission_for_publication = models.BooleanField(default=True) - url = models.URLField(default="") + url = models.URLField(default="", blank=True) class Meta: ordering = ("name",)