Browse Source

Replace field prefix end_ => endereco_

pull/6/head
Marcio Mazza 10 years ago
parent
commit
90cfe8d862
  1. 4
      comissoes/models.py
  2. 4
      materia/models.py
  3. 6
      parlamentares/models.py

4
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()

4
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)

6
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)

Loading…
Cancel
Save