diff options
author | Bruno Sarlo <bruno@bruno-laptop.(none)> | 2009-08-11 15:49:31 -0300 |
---|---|---|
committer | Bruno Sarlo <bruno@bruno-laptop.(none)> | 2009-08-11 15:49:31 -0300 |
commit | 425e4e5d6edfbfa93a8e940ebae26e8d1dc1292b (patch) | |
tree | 9f608b8d56c99ceb33c1a717324c5a38881e165c | |
parent | 9bbad735671672f590f0bfd658a2638128b41c25 (diff) | |
download | askbot-425e4e5d6edfbfa93a8e940ebae26e8d1dc1292b.tar.gz askbot-425e4e5d6edfbfa93a8e940ebae26e8d1dc1292b.tar.bz2 askbot-425e4e5d6edfbfa93a8e940ebae26e8d1dc1292b.zip |
Added unicode encoding for tags.
-rw-r--r-- | forum/models.py | 2 |
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(' ', '-')) |