From 984b2f099f0c51a49efc2e93c8588835b33d9caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CMic=E2=80=9D?= Date: Sat, 5 Oct 2019 22:20:40 +0200 Subject: [PATCH 1/2] add blank=True --- evennia/typeclasses/tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/typeclasses/tags.py b/evennia/typeclasses/tags.py index 1f9dd7ec86..313a2a7a97 100644 --- a/evennia/typeclasses/tags.py +++ b/evennia/typeclasses/tags.py @@ -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): From e73b31fb03c42873ad553891d3b643c9c9196a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CMic=E2=80=9D?= Date: Tue, 15 Oct 2019 21:25:45 +0200 Subject: [PATCH 2/2] add migration file --- .../migrations/0013_auto_20191015_1922.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 evennia/typeclasses/migrations/0013_auto_20191015_1922.py diff --git a/evennia/typeclasses/migrations/0013_auto_20191015_1922.py b/evennia/typeclasses/migrations/0013_auto_20191015_1922.py new file mode 100644 index 0000000000..83578e1694 --- /dev/null +++ b/evennia/typeclasses/migrations/0013_auto_20191015_1922.py @@ -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'), + ), + ]