From c6286ee93f21db95eeaf6869b60572ef1840cbcc Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Tue, 9 Jun 2015 16:32:22 -0300 Subject: [PATCH] Replace fields sex_* => sexo --- parlamentares/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parlamentares/models.py b/parlamentares/models.py index 17f027262..818bc01be 100644 --- a/parlamentares/models.py +++ b/parlamentares/models.py @@ -56,7 +56,7 @@ class Parlamentar(models.Model): situacao_militar = models.ForeignKey(SituacaoMilitar, 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) + sexo = models.CharField(max_length=1) data_nascimento = models.DateField(blank=True, null=True) num_cpf = models.CharField(max_length=14, blank=True, null=True) num_rg = models.CharField(max_length=15, blank=True, null=True) @@ -87,7 +87,7 @@ class Dependente(models.Model): tipo_dependente = models.ForeignKey(TipoDependente) parlamentar = models.ForeignKey(Parlamentar) nome_dependente = models.CharField(max_length=50) - sex_dependente = models.CharField(max_length=1) + sexo = models.CharField(max_length=1) data_nascimento = models.DateField(blank=True, null=True) num_cpf = models.CharField(max_length=14, blank=True, null=True) num_rg = models.CharField(max_length=15, blank=True, null=True)