from django.utils.translation import ugettext as _\r
from django.utils.http import urlquote_plus\r
from django.utils.html import strip_tags\r
+from django.utils.encoding import smart_unicode\r
from django.utils import simplejson\r
from django.core.urlresolvers import reverse, NoReverseMatch\r
from forum.forms import *\r
decorated = decorate.params.withfn(params)(fn)\r
\r
def result(context, request, user):\r
- rev_page_title = user.username + " - " + tab_description\r
+ rev_page_title = smart_unicode(user.username) + " - " + tab_description\r
\r
context.update({\r
"tab": "users",\r