X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/6ed9045db99d5ec0f9bd3529c9145cacabd5f90e..ba9a60ad5002f1d8ea271f030f4ae5f5e898f7c7:/forum/views/users.py diff --git a/forum/views/users.py b/forum/views/users.py index 8766851..d532baf 100644 --- a/forum/views/users.py +++ b/forum/views/users.py @@ -286,7 +286,7 @@ def user_view(template, tab_name, tab_title, tab_description, private=False, tab if tabbed: def url_getter(vu): try: - return reverse(fn.__name__, kwargs={'id': vu.id, 'slug': slugify(vu.username)}) + return reverse(fn.__name__, kwargs={'id': vu.id, 'slug': slugify(smart_unicode(vu.username))}) except NoReverseMatch: return reverse(fn.__name__, kwargs={'id': vu.id})