X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/554564294a9a644a3a6723c386f5eb009e23ce98..4da66439c7e1cd073b2f97466208730cf5db9dff:/forum/registry.py?ds=sidebyside 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'