diff --git a/sapl/base/migrations/0003_auto_20170519_1106.py b/sapl/base/migrations/0003_auto_20170519_1106.py new file mode 100644 index 000000000..f16a20172 --- /dev/null +++ b/sapl/base/migrations/0003_auto_20170519_1106.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.12 on 2017-05-19 11:06 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('base', '0002_auto_20170331_1900'), + ] + + operations = [ + migrations.AlterField( + model_name='autor', + name='nome', + field=models.CharField(blank=True, max_length=60, verbose_name='Nome do Autor'), + ), + ] diff --git a/sapl/base/models.py b/sapl/base/models.py index 9dd0f5ec3..3edef25e9 100644 --- a/sapl/base/models.py +++ b/sapl/base/models.py @@ -211,7 +211,7 @@ class Autor(models.Model): autor_related = GenericForeignKey('content_type', 'object_id') nome = models.CharField( - max_length=50, blank=True, verbose_name=_('Nome do Autor')) + max_length=60, blank=True, verbose_name=_('Nome do Autor')) cargo = models.CharField(max_length=50, blank=True)