Merge pull request #1962 from mdaizovi/master

add blank=True
This commit is contained in:
Griatch 2019-10-27 20:35:27 +01:00 committed by GitHub
commit 918b162aee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,18 @@
# Generated by Django 2.2.6 on 2019-10-15 19:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('typeclasses', '0012_attrs_to_picklev4_may_be_slow'),
]
operations = [
migrations.AlterField(
model_name='tag',
name='db_tagtype',
field=models.CharField(blank=True, db_index=True, help_text='overall type of Tag', max_length=16, null=True, verbose_name='tagtype'),
),
]

View file

@ -67,7 +67,7 @@ class Tag(models.Model):
)
# this is None, alias or permission
db_tagtype = models.CharField(
"tagtype", max_length=16, null=True, help_text="overall type of Tag", db_index=True
"tagtype", max_length=16, null=True, blank=True, help_text="overall type of Tag", db_index=True
)
class Meta(object):