diff --git a/comissoes/models.py b/comissoes/models.py index 0be2ddb95..1b613817e 100644 --- a/comissoes/models.py +++ b/comissoes/models.py @@ -4,7 +4,7 @@ from parlamentares.models import Parlamentar class TipoComissao(models.Model): - nom_tipo_comissao = models.CharField(max_length=50) + nome_tipo_comissao = models.CharField(max_length=50) sgl_natureza_comissao = models.CharField(max_length=1) sgl_tipo_comissao = models.CharField(max_length=10) des_dispositivo_regimental = models.CharField(max_length=50, blank=True, null=True) @@ -12,16 +12,16 @@ class TipoComissao(models.Model): class Comissao(models.Model): tip_comissao = models.ForeignKey(TipoComissao) - nom_comissao = models.CharField(max_length=60) + nome_comissao = models.CharField(max_length=60) sgl_comissao = models.CharField(max_length=10) dat_criacao = models.DateField() dat_extincao = models.DateField(blank=True, null=True) - nom_apelido_temp = models.CharField(max_length=100, blank=True, null=True) + nome_apelido_temp = models.CharField(max_length=100, blank=True, null=True) dat_instalacao_temp = models.DateField(blank=True, null=True) dat_final_prevista_temp = models.DateField(blank=True, null=True) dat_prorrogada_temp = models.DateField(blank=True, null=True) dat_fim_comissao = models.DateField(blank=True, null=True) - nom_secretario = models.CharField(max_length=30, blank=True, null=True) + nome_secretario = models.CharField(max_length=30, blank=True, null=True) num_tel_reuniao = models.CharField(max_length=15, blank=True, null=True) end_secretaria = models.CharField(max_length=100, blank=True, null=True) num_tel_secretaria = models.CharField(max_length=15, blank=True, null=True) diff --git a/lexml/models.py b/lexml/models.py index b0fb641b4..9b3e65722 100644 --- a/lexml/models.py +++ b/lexml/models.py @@ -3,10 +3,10 @@ from django.db import models class LexmlRegistroProvedor(models.Model): id_provedor = models.IntegerField() - nom_provedor = models.CharField(max_length=255) + nome_provedor = models.CharField(max_length=255) sgl_provedor = models.CharField(max_length=15) adm_email = models.CharField(max_length=50, blank=True, null=True) - nom_responsavel = models.CharField(max_length=255, blank=True, null=True) + nome_responsavel = models.CharField(max_length=255, blank=True, null=True) tipo = models.CharField(max_length=50) id_responsavel = models.IntegerField(blank=True, null=True) xml_provedor = models.TextField(blank=True, null=True) @@ -14,9 +14,9 @@ class LexmlRegistroProvedor(models.Model): class LexmlRegistroPublicador(models.Model): id_publicador = models.IntegerField() - nom_publicador = models.CharField(max_length=255) + nome_publicador = models.CharField(max_length=255) adm_email = models.CharField(max_length=50, blank=True, null=True) sigla = models.CharField(max_length=255, blank=True, null=True) - nom_responsavel = models.CharField(max_length=255, blank=True, null=True) + nome_responsavel = models.CharField(max_length=255, blank=True, null=True) tipo = models.CharField(max_length=50) id_responsavel = models.IntegerField() diff --git a/materia/models.py b/materia/models.py index a76df1897..338aecf48 100644 --- a/materia/models.py +++ b/materia/models.py @@ -17,7 +17,7 @@ class RegimeTramitacao(models.Model): class Origem(models.Model): sgl_origem = models.CharField(max_length=10) - nom_origem = models.CharField(max_length=50) + nome_origem = models.CharField(max_length=50) class MateriaLegislativa(models.Model): @@ -34,7 +34,7 @@ class MateriaLegislativa(models.Model): ano_origem_externa = models.SmallIntegerField(blank=True, null=True) dat_origem_externa = models.DateField(blank=True, null=True) local_origem_externa = models.ForeignKey(Origem, blank=True, null=True) - nom_apelido = models.CharField(max_length=50, blank=True, null=True) + nome_apelido = models.CharField(max_length=50, blank=True, null=True) num_dias_prazo = models.IntegerField(blank=True, null=True) dat_fim_prazo = models.DateField(blank=True, null=True) ind_tramitacao = models.IntegerField() @@ -78,7 +78,7 @@ class Autor(models.Model): comissao = models.ForeignKey(Comissao, blank=True, null=True) parlamentar = models.ForeignKey(Parlamentar, blank=True, null=True) tipo = models.ForeignKey(TipoAutor) - nom_autor = models.CharField(max_length=50, blank=True, null=True) + nome_autor = models.CharField(max_length=50, blank=True, null=True) des_cargo = models.CharField(max_length=50, blank=True, null=True) col_username = models.CharField(max_length=50, blank=True, null=True) @@ -102,9 +102,9 @@ class TipoDocumento(models.Model): class DocumentoAcessorio(models.Model): materia = models.ForeignKey(MateriaLegislativa) tipo = models.ForeignKey(TipoDocumento) - nom_documento = models.CharField(max_length=30) + nome_documento = models.CharField(max_length=30) dat_documento = models.DateField(blank=True, null=True) - nom_autor_documento = models.CharField(max_length=50, blank=True, null=True) + nome_autor_documento = models.CharField(max_length=50, blank=True, null=True) txt_ementa = models.TextField(blank=True, null=True) txt_indexacao = models.TextField(blank=True, null=True) @@ -124,7 +124,7 @@ class Numeracao(models.Model): class Orgao(models.Model): - nom_orgao = models.CharField(max_length=60) + nome_orgao = models.CharField(max_length=60) sgl_orgao = models.CharField(max_length=10) ind_unid_deliberativa = models.IntegerField() end_orgao = models.CharField(max_length=100, blank=True, null=True) @@ -156,7 +156,7 @@ class TipoProposicao(models.Model): des_tipo_proposicao = models.CharField(max_length=50) ind_mat_ou_doc = models.CharField(max_length=1) tip_mat_ou_doc = models.IntegerField() - nom_modelo = models.CharField(max_length=50) + nome_modelo = models.CharField(max_length=50) class Proposicao(models.Model): diff --git a/parlamentares/models.py b/parlamentares/models.py index 704bfb50e..97ddacf47 100644 --- a/parlamentares/models.py +++ b/parlamentares/models.py @@ -19,13 +19,13 @@ class SessaoLegislativa(models.Model): class Coligacao(models.Model): legislatura = models.ForeignKey(Legislatura) - nom_coligacao = models.CharField(max_length=50) + nome_coligacao = models.CharField(max_length=50) num_votos_coligacao = models.IntegerField(blank=True, null=True) class Partido(models.Model): sgl_partido = models.CharField(max_length=9) - nom_partido = models.CharField(max_length=50) + nome_partido = models.CharField(max_length=50) dat_criacao = models.DateField(blank=True, null=True) dat_extincao = models.DateField(blank=True, null=True) @@ -36,8 +36,8 @@ class ComposicaoColigacao(models.Model): class Localidade(models.Model): - nom_localidade = models.CharField(max_length=50, blank=True, null=True) - nom_localidade_pesq = models.CharField(max_length=50, blank=True, null=True) + nome_localidade = models.CharField(max_length=50, blank=True, null=True) + nome_localidade_pesq = models.CharField(max_length=50, blank=True, null=True) tip_localidade = models.CharField(max_length=1, blank=True, null=True) sgl_uf = models.CharField(max_length=2, blank=True, null=True) sgl_regiao = models.CharField(max_length=2, blank=True, null=True) @@ -54,8 +54,8 @@ class SituacaoMilitar(models.Model): class Parlamentar(models.Model): nivel_instrucao = models.ForeignKey(NivelInstrucao, blank=True, null=True) situacao_militar = models.ForeignKey(SituacaoMilitar, blank=True, null=True) - nom_completo = models.CharField(max_length=50) - nom_parlamentar = models.CharField(max_length=50, blank=True, null=True) + nome_completo = models.CharField(max_length=50) + nome_parlamentar = models.CharField(max_length=50, blank=True, null=True) sex_parlamentar = models.CharField(max_length=1) dat_nascimento = models.DateField(blank=True, null=True) num_cpf = models.CharField(max_length=14, blank=True, null=True) @@ -71,7 +71,7 @@ class Parlamentar(models.Model): num_tel_resid = models.CharField(max_length=50, blank=True, null=True) num_fax_resid = models.CharField(max_length=50, blank=True, null=True) end_web = models.CharField(max_length=100, blank=True, null=True) - nom_profissao = models.CharField(max_length=50, blank=True, null=True) + nome_profissao = models.CharField(max_length=50, blank=True, null=True) end_email = models.CharField(max_length=100, blank=True, null=True) des_local_atuacao = models.CharField(max_length=100, blank=True, null=True) ind_ativo = models.IntegerField() @@ -86,7 +86,7 @@ class TipoDependente(models.Model): class Dependente(models.Model): tipo_dependente = models.ForeignKey(TipoDependente) parlamentar = models.ForeignKey(Parlamentar) - nom_dependente = models.CharField(max_length=50) + nome_dependente = models.CharField(max_length=50) sex_dependente = models.CharField(max_length=1) dat_nascimento = models.DateField(blank=True, null=True) num_cpf = models.CharField(max_length=14, blank=True, null=True) diff --git a/protocoloadm/models.py b/protocoloadm/models.py index 2deb881a5..ba574a019 100644 --- a/protocoloadm/models.py +++ b/protocoloadm/models.py @@ -26,10 +26,10 @@ class DocumentoAdministrativo(models.Model): class DocumentoAcessorioAdministrativo(models.Model): documento = models.ForeignKey(DocumentoAdministrativo) tipo = models.ForeignKey(TipoDocumentoAdministrativo) - nom_documento = models.CharField(max_length=30) - nom_arquivo = models.CharField(max_length=100) + nome_documento = models.CharField(max_length=30) + nome_arquivo = models.CharField(max_length=100) dat_documento = models.DateField(blank=True, null=True) - nom_autor_documento = models.CharField(max_length=50, blank=True, null=True) + nome_autor_documento = models.CharField(max_length=50, blank=True, null=True) txt_assunto = models.TextField(blank=True, null=True) txt_indexacao = models.TextField(blank=True, null=True) diff --git a/sessao/models.py b/sessao/models.py index 49e30f884..4bc26378e 100644 --- a/sessao/models.py +++ b/sessao/models.py @@ -5,7 +5,7 @@ from parlamentares.models import CargoMesa, Parlamentar, SessaoLegislativa, Legi class TipoSessaoPlenaria(models.Model): - nom_sessao = models.CharField(max_length=30) + nome_sessao = models.CharField(max_length=30) num_minimo = models.IntegerField() @@ -37,7 +37,7 @@ class ExpedienteMateria(models.Model): class TipoExpediente(models.Model): - nom_expediente = models.CharField(max_length=100) + nome_expediente = models.CharField(max_length=100) class ExpedienteSessaoPlenaria(models.Model): @@ -85,7 +85,7 @@ class OrdemDiaPresenca(models.Model): class TipoResultadoVotacao(models.Model): - nom_resultado = models.CharField(max_length=100) + nome_resultado = models.CharField(max_length=100) class RegistroVotacao(models.Model):