Browse Source

Fix SessaoLegislativa to print name instead of value

pull/6/head
Edward Ribeiro 10 years ago
parent
commit
075f15d885
  1. 2
      parlamentares/models.py

2
parlamentares/models.py

@ -43,7 +43,7 @@ class SessaoLegislativa(models.Model):
verbose_name_plural = _('Sessões Legislativas')
def __str__(self):
return self.tipo
return self.get_tipo_display()
class Coligacao(models.Model):

Loading…
Cancel
Save