From 8ae6f1b0068bd58570cc27a6bbf6ec6029a856d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 30 Jul 2013 14:13:57 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20de=20erro=20de=20charcode?= =?UTF-8?q?=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/ocorrencias/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/ocorrencias/models.py b/sigi/apps/ocorrencias/models.py index 6c79e21..745e3c3 100644 --- a/sigi/apps/ocorrencias/models.py +++ b/sigi/apps/ocorrencias/models.py @@ -54,7 +54,7 @@ class Ocorrencia(models.Model): ordering = ['prioridade', 'data_modificacao', 'data_criacao', ] def __unicode__(self): - return u"%(casa_legislativa)s: %(assunto)s" % {'assunto': self.assunto, 'casa_legislativa': str(self.casa_legislativa)} + return u"%(casa_legislativa)s: %(assunto)s" % {'assunto': self.assunto, 'casa_legislativa': self.casa_legislativa} class Comentario(models.Model): ocorrencia = models.ForeignKey(Ocorrencia, verbose_name=u'OcorrĂȘncia')