from base import *
from django.utils.translation import ugettext as _
-from django.utils.encoding import smart_unicode
+from django.utils.encoding import smart_unicode, force_unicode
from forum import modules
app_label = 'forum'
def __unicode__(self):
- return unicode(self.name)
+ return force_unicode(self.name)
def add_to_usage_count(self, value):
if self.used_count + value < 0: