]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/views/users.py
notifications improvement, now we make sure that the username has passed through...
[osqa.git] / forum / views / users.py
index 8766851c31faa021833881ebd3f2f463ff7be8da..d532baf20b70bf3cdd9bb8e051b369ec3e803de9 100644 (file)
@@ -286,7 +286,7 @@ def user_view(template, tab_name, tab_title, tab_description, private=False, tab
         if tabbed:\r
             def url_getter(vu):\r
                 try:\r
-                    return reverse(fn.__name__, kwargs={'id': vu.id, 'slug': slugify(vu.username)})\r
+                    return reverse(fn.__name__, kwargs={'id': vu.id, 'slug': slugify(smart_unicode(vu.username))})\r
                 except NoReverseMatch:\r
                     return reverse(fn.__name__, kwargs={'id': vu.id})\r
 \r