diff options
| -rw-r--r-- | archaeological_warehouse/migrations/0025_auto_20181112_1842.py | 20 | ||||
| -rw-r--r-- | archaeological_warehouse/models.py | 3 | 
2 files changed, 22 insertions, 1 deletions
| diff --git a/archaeological_warehouse/migrations/0025_auto_20181112_1842.py b/archaeological_warehouse/migrations/0025_auto_20181112_1842.py new file mode 100644 index 000000000..174ed9a48 --- /dev/null +++ b/archaeological_warehouse/migrations/0025_auto_20181112_1842.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.10 on 2018-11-12 18:42 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + +    dependencies = [ +        ('archaeological_warehouse', '0024_auto_20181017_1854'), +    ] + +    operations = [ +        migrations.AlterField( +            model_name='containertype', +            name='reference', +            field=models.CharField(blank=True, max_length=300, null=True, verbose_name='Ref.'), +        ), +    ] diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index a40bfd321..5565bc504 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -298,7 +298,8 @@ class ContainerType(GeneralType):      width = models.IntegerField(_(u"Width (mm)"), blank=True, null=True)      height = models.IntegerField(_(u"Height (mm)"), blank=True, null=True)      volume = models.FloatField(_(u"Volume (l)"), blank=True, null=True) -    reference = models.CharField(_(u"Ref."), max_length=30) +    reference = models.CharField(_(u"Ref."), max_length=300, blank=True, +                                 null=True)      class Meta:          verbose_name = _(u"Container type") | 
