),
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'