From 2dc1dfb2007a28eba1848c7c232b346bddc58824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Rodrigues?= Date: Tue, 12 May 2020 15:43:13 -0300 Subject: [PATCH] Fix #3140 - Capacidade dos Campos IP --- sapl/materia/models.py | 6 +++--- sapl/norma/models.py | 2 +- sapl/protocoloadm/models.py | 4 ++-- sapl/sessao/models.py | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sapl/materia/models.py b/sapl/materia/models.py index b42572ba0..2f45c5bd4 100644 --- a/sapl/materia/models.py +++ b/sapl/materia/models.py @@ -291,7 +291,7 @@ class MateriaLegislativa(models.Model): ) ip = models.CharField( verbose_name=_('IP'), - max_length=30, + max_length=60, blank=True, default='' ) @@ -861,7 +861,7 @@ class Proposicao(models.Model): ) ip = models.CharField( verbose_name=_('IP'), - max_length=30, + max_length=60, blank=True, default='' ) @@ -1100,7 +1100,7 @@ class Tramitacao(models.Model): null=True, blank=True) ip = models.CharField(verbose_name=_('IP'), - max_length=30, + max_length=60, blank=True, default='') ultima_edicao = models.DateTimeField( diff --git a/sapl/norma/models.py b/sapl/norma/models.py index c1bcf6d13..60e3117fd 100644 --- a/sapl/norma/models.py +++ b/sapl/norma/models.py @@ -159,7 +159,7 @@ class NormaJuridica(models.Model): ) ip = models.CharField( verbose_name=_('IP'), - max_length=30, + max_length=60, blank=True, default='' ) diff --git a/sapl/protocoloadm/models.py b/sapl/protocoloadm/models.py index e73a79719..e1a6077dd 100644 --- a/sapl/protocoloadm/models.py +++ b/sapl/protocoloadm/models.py @@ -199,7 +199,7 @@ class DocumentoAdministrativo(models.Model): ) ip = models.CharField( verbose_name=_('IP'), - max_length=30, + max_length=60, blank=True, default='' ) @@ -359,7 +359,7 @@ class TramitacaoAdministrativo(models.Model): null=True, blank=True) ip = models.CharField(verbose_name=_('IP'), - max_length=30, + max_length=60, blank=True, default='') ultima_edicao = models.DateTimeField( diff --git a/sapl/sessao/models.py b/sapl/sessao/models.py index b4c88c9aa..f357e9006 100644 --- a/sapl/sessao/models.py +++ b/sapl/sessao/models.py @@ -502,7 +502,7 @@ class RegistroVotacao(models.Model): null=True, blank=True) ip = models.CharField(verbose_name=_('IP'), - max_length=30, + max_length=60, blank=True, default='') data_hora = models.DateTimeField( @@ -553,7 +553,7 @@ class VotoParlamentar(models.Model): # RegistroVotacaoParlamentar null=True, blank=True) ip = models.CharField(verbose_name=_('IP'), - max_length=30, + max_length=60, blank=True, default='') data_hora = models.DateTimeField( @@ -847,7 +847,7 @@ class RegistroLeitura(models.Model): null=True, blank=True) ip = models.CharField(verbose_name=_('IP'), - max_length=30, + max_length=60, blank=True, default='') data_hora = models.DateTimeField(