Browse Source

Adicionando verbose_name parlamentar

0.3
Camilo Carlos (Estagiario) 15 years ago
parent
commit
89199229bd
  1. 2
      sigi/apps/casas/models.py

2
sigi/apps/casas/models.py

@ -25,7 +25,7 @@ class CasaLegislativa(models.Model):
tipo = models.CharField(max_length=2, choices=CASA_CHOICES, default='CM') tipo = models.CharField(max_length=2, choices=CASA_CHOICES, default='CM')
cnpj = models.CharField('CNPJ', max_length=32, blank=True) cnpj = models.CharField('CNPJ', max_length=32, blank=True)
observacoes = models.TextField(u'observações', blank=True) observacoes = models.TextField(u'observações', blank=True)
parlamentar = models.ForeignKey(Parlamentar, null=True, blank=True) parlamentar = models.ForeignKey(Parlamentar, null=True, blank=True, verbose_name="Presidente")
logradouro = models.CharField( logradouro = models.CharField(
max_length=100, max_length=100,

Loading…
Cancel
Save