Browse Source

Fix #3108 - Altera tamanho do campo (#3109)

pull/3163/head
João Rodrigues 5 years ago
committed by eribeiro
parent
commit
d4a157f911
  1. 20
      sapl/norma/migrations/0032_auto_20200221_1533.py
  2. 2
      sapl/norma/models.py

20
sapl/norma/migrations/0032_auto_20200221_1533.py

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2020-02-21 18:33
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('norma', '0031_auto_20200114_1121'),
]
operations = [
migrations.AlterField(
model_name='normajuridica',
name='veiculo_publicacao',
field=models.CharField(blank=True, max_length=200, verbose_name='Veículo de Publicação'),
),
]

2
sapl/norma/models.py

@ -106,7 +106,7 @@ class NormaJuridica(models.Model):
data_publicacao = models.DateField(
blank=True, null=True, verbose_name=_('Data de Publicação'))
veiculo_publicacao = models.CharField(
max_length=30,
max_length=200,
blank=True,
verbose_name=_('Veículo de Publicação'))
pagina_inicio_publicacao = models.PositiveIntegerField(

Loading…
Cancel
Save