summaryrefslogtreecommitdiffstats
path: root/forum/models.py
diff options
context:
space:
mode:
authorBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-11 15:49:31 -0300
committerBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-11 15:49:31 -0300
commit425e4e5d6edfbfa93a8e940ebae26e8d1dc1292b (patch)
tree9f608b8d56c99ceb33c1a717324c5a38881e165c /forum/models.py
parent9bbad735671672f590f0bfd658a2638128b41c25 (diff)
downloadaskbot-425e4e5d6edfbfa93a8e940ebae26e8d1dc1292b.tar.gz
askbot-425e4e5d6edfbfa93a8e940ebae26e8d1dc1292b.tar.bz2
askbot-425e4e5d6edfbfa93a8e940ebae26e8d1dc1292b.zip
Added unicode encoding for tags.
Diffstat (limited to 'forum/models.py')
-rw-r--r--forum/models.py2
1 files changed, 1 insertions, 1 deletions
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(' ', '-'))