TestReport name no longer needs to be unique

This commit is contained in:
Oliver Walters 2021-02-04 21:15:07 +11:00
parent bc36775270
commit 5aec487c12
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.0.7 on 2021-02-04 10:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('report', '0007_auto_20210204_1617'),
]
operations = [
migrations.AlterField(
model_name='testreport',
name='name',
field=models.CharField(help_text='Template name', max_length=100, verbose_name='Name'),
),
]

View File

@ -100,7 +100,6 @@ class ReportBase(models.Model):
blank=False, max_length=100, blank=False, max_length=100,
verbose_name=_('Name'), verbose_name=_('Name'),
help_text=_('Template name'), help_text=_('Template name'),
unique=True,
) )
template = models.FileField( template = models.FileField(