Browse Source

Muda valor máximo do campo nome da model Comissao

Signed-off-by: Luciano Almeida <lucianoalmeida@interlegis.leg.br>
pull/1375/head
Luciano Almeida 7 years ago
parent
commit
39e41330dd
  1. 20
      sapl/comissoes/migrations/0002_auto_20170809_1236.py
  2. 2
      sapl/comissoes/models.py

20
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'),
),
]

2
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(

Loading…
Cancel
Save