summaryrefslogtreecommitdiffstats
path: root/forum
diff options
context:
space:
mode:
authorBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-11 15:49:55 -0300
committerBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-11 15:49:55 -0300
commit1f034e12f4deeb27cd641c73e555c050e5f4d942 (patch)
tree9f608b8d56c99ceb33c1a717324c5a38881e165c /forum
parent3bf18ad5c7616379038ad301e7d92b9620159c57 (diff)
downloadaskbot-1f034e12f4deeb27cd641c73e555c050e5f4d942.tar.gz
askbot-1f034e12f4deeb27cd641c73e555c050e5f4d942.tar.bz2
askbot-1f034e12f4deeb27cd641c73e555c050e5f4d942.zip
Added unicode encoding for tags.
Diffstat (limited to 'forum')
-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(' ', '-'))