Skip to content
Snippets Groups Projects
Commit fa0abcfc authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix: don’t require url in license admin view

parent eaa30f0a
No related branches found
No related tags found
No related merge requests found
Pipeline #5430 passed
# 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=""),
),
]
......@@ -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",)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment