From 90cfe8d8621bc6e9d9402038884ddbb9a66e809b Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Tue, 9 Jun 2015 16:15:32 -0300 Subject: [PATCH] Replace field prefix end_ => endereco_ --- comissoes/models.py | 4 ++-- materia/models.py | 4 ++-- parlamentares/models.py | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/comissoes/models.py b/comissoes/models.py index 674a736ed..c1da014e1 100644 --- a/comissoes/models.py +++ b/comissoes/models.py @@ -23,13 +23,13 @@ class Comissao(models.Model): data_fim_comissao = models.DateField(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) + endereco_secretaria = models.CharField(max_length=100, blank=True, null=True) num_tel_secretaria = models.CharField(max_length=15, blank=True, null=True) num_fax_secretaria = models.CharField(max_length=15, blank=True, null=True) des_agenda_reuniao = models.CharField(max_length=100, blank=True, null=True) loc_reuniao = models.CharField(max_length=100, blank=True, null=True) txt_finalidade = models.TextField(blank=True, null=True) - end_email = models.CharField(max_length=100, blank=True, null=True) + endereco_email = models.CharField(max_length=100, blank=True, null=True) ind_unid_deliberativa = models.IntegerField() diff --git a/materia/models.py b/materia/models.py index 16ec38176..0de64ec4b 100644 --- a/materia/models.py +++ b/materia/models.py @@ -53,7 +53,7 @@ class MateriaLegislativa(models.Model): class AcompMateria(models.Model): materia = models.ForeignKey(MateriaLegislativa) - end_email = models.CharField(max_length=100) + endereco_email = models.CharField(max_length=100) txt_hash = models.CharField(max_length=8) @@ -127,7 +127,7 @@ class Orgao(models.Model): 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) + endereco_orgao = models.CharField(max_length=100, blank=True, null=True) num_tel_orgao = models.CharField(max_length=50, blank=True, null=True) diff --git a/parlamentares/models.py b/parlamentares/models.py index c8e08b0db..9c52b9af7 100644 --- a/parlamentares/models.py +++ b/parlamentares/models.py @@ -65,14 +65,14 @@ class Parlamentar(models.Model): num_gab_parlamentar = models.CharField(max_length=10, blank=True, null=True) num_tel_parlamentar = models.CharField(max_length=50, blank=True, null=True) num_fax_parlamentar = models.CharField(max_length=50, blank=True, null=True) - end_residencial = models.CharField(max_length=100, blank=True, null=True) + endereco_residencial = models.CharField(max_length=100, blank=True, null=True) localidade_resid = models.ForeignKey(Localidade, blank=True, null=True) num_cep_resid = models.CharField(max_length=9, blank=True, null=True) 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) + endereco_web = models.CharField(max_length=100, 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) + endereco_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() txt_biografia = models.TextField(blank=True, null=True)