Skip to content
Snippets Groups Projects
Commit fd9960a5 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Allow class_required to be empty

parent 6c221715
No related branches found
No related tags found
1 merge request!2Allow class_required to be empty
# Generated by Django 3.2.13 on 2022-05-27 19:49
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('fai_webapi_djrf', '0003_scripts'),
]
operations = [
migrations.AlterField(
model_name='packageconfig',
name='class_required',
field=models.ManyToManyField(blank=True, related_name='additional_for_package_configs', to='fai_webapi_djrf.Class'),
),
]
......@@ -428,7 +428,7 @@ class PackageConfig(models.Model):
)
)
class_required = models.ManyToManyField(
"Class", related_name="additional_for_package_configs"
"Class", related_name="additional_for_package_configs", blank=True
)
def __str__(self):
......
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