X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/554564294a9a644a3a6723c386f5eb009e23ce98..aa9d250fc29ad29a9b7863a6253e906c772df914:/forum/registry.py diff --git a/forum/registry.py b/forum/registry.py index ec97389..e5fb7c6 100644 --- a/forum/registry.py +++ b/forum/registry.py @@ -84,7 +84,7 @@ ui.register(ui.USER_MENU, ), ui.UserMenuItem( label=_("email notification settings"), - url=lambda u, c: reverse('user_subscriptions', kwargs={'id': c['user'].id, 'slug': slugify(c['user'].username)}), + url=lambda u, c: reverse('user_subscriptions', kwargs={'id': c['user'].id, 'slug': slugify(smart_unicode(c['user'].username))}), span_attrs={'class': 'user-subscriptions'}, weight=200, name='EMAIL_SETTINGS'