From 425e4e5d6edfbfa93a8e940ebae26e8d1dc1292b Mon Sep 17 00:00:00 2001 From: Bruno Sarlo Date: Tue, 11 Aug 2009 15:49:31 -0300 Subject: Added unicode encoding for tags. --- forum/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/models.py b/forum/models.py index 52f7af0f..9060b436 100644 --- a/forum/models.py +++ b/forum/models.py @@ -180,7 +180,7 @@ class Question(models.Model): return [name for name in self.tagnames.split(u' ')] def tagname_meta_generator(self): - return u','.join([str(tag) for tag in self.tagname_list()]) + return u','.join([unicode(tag) for tag in self.tagname_list()]) def get_absolute_url(self): return '%s%s' % (reverse('question', args=[self.id]), self.title.replace(' ', '-')) -- cgit v1.2.3-1-g7c22