From 39e41330ddbe2b0843b8ac5d4ec1b5a9c768741d Mon Sep 17 00:00:00 2001 From: Luciano Almeida Date: Wed, 9 Aug 2017 12:37:50 -0300 Subject: [PATCH] =?UTF-8?q?Muda=20valor=20m=C3=A1ximo=20do=20campo=20nome?= =?UTF-8?q?=20da=20model=20Comissao?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Luciano Almeida --- .../migrations/0002_auto_20170809_1236.py | 20 +++++++++++++++++++ sapl/comissoes/models.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 sapl/comissoes/migrations/0002_auto_20170809_1236.py diff --git a/sapl/comissoes/migrations/0002_auto_20170809_1236.py b/sapl/comissoes/migrations/0002_auto_20170809_1236.py new file mode 100644 index 000000000..b665a2186 --- /dev/null +++ b/sapl/comissoes/migrations/0002_auto_20170809_1236.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.12 on 2017-08-09 12:36 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('comissoes', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='comissao', + name='nome', + field=models.CharField(max_length=100, verbose_name='Nome'), + ), + ] diff --git a/sapl/comissoes/models.py b/sapl/comissoes/models.py index a21a20508..0b3c664ee 100644 --- a/sapl/comissoes/models.py +++ b/sapl/comissoes/models.py @@ -35,7 +35,7 @@ class Comissao(models.Model): tipo = models.ForeignKey(TipoComissao, on_delete=models.PROTECT, verbose_name=_('Tipo')) - nome = models.CharField(max_length=60, verbose_name=_('Nome')) + nome = models.CharField(max_length=100, verbose_name=_('Nome')) sigla = models.CharField(max_length=10, verbose_name=_('Sigla')) data_criacao = models.DateField(verbose_name=_('Data de Criação')) data_extincao = models.DateField(