From 9f5063f7534736071a066edbfffa042d676f8bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Fri, 12 Apr 2013 12:15:02 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20erro=20unicode=20na=20clas?= =?UTF-8?q?se=20Legislatura?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/mesas/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/mesas/models.py b/sigi/apps/mesas/models.py index 25b2e4c..f6062cb 100644 --- a/sigi/apps/mesas/models.py +++ b/sigi/apps/mesas/models.py @@ -18,7 +18,7 @@ class Legislatura(models.Model): ordering = ['casa_legislativa__municipio__uf__sigla', '-data_inicio'] def __unicode__(self): - return "%sª legislatura da %s (%s-%s)" % (self.numero, self.casa_legislativa.__unicode__(), self.data_inicio.year, self.data_fim.year) + return u"%sª legislatura da %s (%s-%s)" % (self.numero, self.casa_legislativa.__unicode__(), self.data_inicio.year, self.data_fim.year) class Coligacao(models.Model): nome = models.CharField(max_length=50)