From 3dd402119403a7417a0d5c34322aed4e3eb730b2 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Mon, 29 Jun 2015 12:06:14 -0300 Subject: [PATCH] Add missing verbose names --- lexml/models.py | 2 +- protocoloadm/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lexml/models.py b/lexml/models.py index 44bc01483..fc19b2f83 100644 --- a/lexml/models.py +++ b/lexml/models.py @@ -22,7 +22,7 @@ class LexmlRegistroPublicador(models.Model): id_publicador = models.IntegerField(verbose_name=_(u'Id do publicador')) # id_publicador nome_publicador = models.CharField(max_length=255, verbose_name=_(u'Nome do publicador')) # nom_publicador adm_email = models.CharField(max_length=50, blank=True, null=True, verbose_name=_(u'E-mail do responsável')) # adm_email - sigla = models.CharField(max_length=255, blank=True, null=True) # sigla + sigla = models.CharField(max_length=255, blank=True, null=True, verbose_name=_(u'Sigla do Publicador')) # sigla nome_responsavel = models.CharField(max_length=255, blank=True, null=True, verbose_name=_(u'Nome do responsável')) # nom_responsavel tipo = models.CharField(max_length=50) # tipo id_responsavel = models.IntegerField(verbose_name=_(u'Id do responsável')) # id_responsavel diff --git a/protocoloadm/models.py b/protocoloadm/models.py index 862788612..fa0101c0e 100644 --- a/protocoloadm/models.py +++ b/protocoloadm/models.py @@ -87,7 +87,7 @@ class StatusTramitacaoAdministrativo(models.Model): class TramitacaoAdministrativo(models.Model): documento = models.ForeignKey(DocumentoAdministrativo) # cod_documento - data_tramitacao = models.DateField(blank=True, null=True) # dat_tramitacao + data_tramitacao = models.DateField(blank=True, null=True, verbose_name=_(u'Data Tramitação')) # dat_tramitacao cod_unid_tram_local = models.IntegerField(blank=True, null=True, verbose_name=_(u'Unidade Local')) # cod_unid_tram_local data_encaminha = models.DateField(blank=True, null=True, verbose_name=_(u'Data Encaminhamento')) # dat_encaminha cod_unid_tram_dest = models.IntegerField(blank=True, null=True, verbose_name=_(u'Unidade Destino')) # cod_unid_tram_dest