1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-21 22:34:21 +00:00

🔧 Correct null=True to blank=True in Project model

This commit is contained in:
Steffo 2021-04-06 02:44:23 +02:00
parent 813a7635e4
commit 7109224f2f
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,18 @@
# Generated by Django 3.1.7 on 2021-04-06 00:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0002_auto_20210405_1641'),
]
operations = [
migrations.AlterField(
model_name='project',
name='sources',
field=models.ManyToManyField(blank=True, help_text='The sources used by this project.', related_name='used_in', to='core.DataSource'),
),
]

View file

@ -56,7 +56,7 @@ class Project(models.Model):
DataSource,
help_text="The sources used by this project.",
related_name="used_in",
null=True,
blank=True,
)
def __str__(self):