From c8fdd0d5c8febd4dcfaccff3f125c74d65f25371 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Wed, 15 Feb 2017 14:07:37 -0200 Subject: [PATCH] Fix __str__ em VotoNominal --- sapl/sessao/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/sessao/models.py b/sapl/sessao/models.py index 1d1ee6a0d..530dd77d0 100644 --- a/sapl/sessao/models.py +++ b/sapl/sessao/models.py @@ -393,7 +393,7 @@ class VotoNominal(models.Model): verbose_name_plural = _('Registros dos Votos dos Parlamentares') def __str__(self): - return self.parlamentar, self.voto + return '%s - %s' % (self.parlamentar.nome_parlamentar, self.voto) class SessaoPlenariaPresenca(models.Model):