From e376a6545272fc06980d8991880e1636dca76bd9 Mon Sep 17 00:00:00 2001 From: Will Barton Date: Fri, 3 Jun 2016 15:42:51 -0400 Subject: [PATCH] Z's markers are huge. --- regcore/migrations/0002_auto_20160603_1440.py | 19 +++++++++++++++++++ regcore/models.py | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 regcore/migrations/0002_auto_20160603_1440.py diff --git a/regcore/migrations/0002_auto_20160603_1440.py b/regcore/migrations/0002_auto_20160603_1440.py new file mode 100644 index 0000000..bf4b6d4 --- /dev/null +++ b/regcore/migrations/0002_auto_20160603_1440.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('regcore', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='regulation', + name='marker', + field=models.CharField(default=b'', max_length=200), + ), + ] diff --git a/regcore/models.py b/regcore/models.py index 4913f9d..097d962 100644 --- a/regcore/models.py +++ b/regcore/models.py @@ -11,7 +11,7 @@ class Regulation(models.Model): node_type = models.SlugField(max_length=10) children = CompressedJSONField() root = models.BooleanField(default=False, db_index=True) - marker = models.CharField(max_length=10, default='') + marker = models.CharField(max_length=200, default='') class Meta: index_together = (('version', 'label_string'),)