diff --git a/src/economy/migrations/0009_auto_20190328_0715.py b/src/economy/migrations/0009_auto_20190328_0715.py new file mode 100644 index 00000000..0f7ea4c3 --- /dev/null +++ b/src/economy/migrations/0009_auto_20190328_0715.py @@ -0,0 +1,23 @@ +# Generated by Django 2.1.7 on 2019-03-28 06:15 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('economy', '0008_auto_20190327_1721'), + ] + + operations = [ + migrations.AlterField( + model_name='chain', + name='slug', + field=models.SlugField(blank=True, help_text='The url slug for this Chain. Leave blank to auto generate a slug.', unique=True), + ), + migrations.AlterField( + model_name='credebtor', + name='slug', + field=models.SlugField(blank=True, help_text='The url slug for this Credebtor. Leave blank to auto generate a slug.'), + ), + ] diff --git a/src/economy/models.py b/src/economy/models.py index 4bde6ec9..91439183 100644 --- a/src/economy/models.py +++ b/src/economy/models.py @@ -27,6 +27,7 @@ class Chain(CreatedUpdatedModel, UUIDModel): slug = models.SlugField( unique=True, + blank=True, help_text='The url slug for this Chain. Leave blank to auto generate a slug.' ) @@ -69,6 +70,7 @@ class Credebtor(CreatedUpdatedModel, UUIDModel): ) slug = models.SlugField( + blank=True, help_text='The url slug for this Credebtor. Leave blank to auto generate a slug.' )