Browse Source

Replace fields sex_* => sexo

pull/6/head
Marcio Mazza 10 years ago
parent
commit
c6286ee93f
  1. 4
      parlamentares/models.py

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

Loading…
Cancel
Save