]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/urls.py
Adds a user preferences page. Not much to see yet, only the preference to make sorts...
[osqa.git] / forum / urls.py
index 5f3fbc5ebe857c460e30b999676990b80d33ddd7..4598ddc34e7e1d49dd1c18484c4c8f4440d4c1cb 100644 (file)
@@ -124,6 +124,8 @@ urlpatterns += patterns('',
                             app.users.user_powers, name='user_powers'),
                         url(r'^%s(?P<id>\d+)/(?P<slug>.+)/%s$' % (_('users/'), _('subscriptions/')), app.users.user_subscriptions,
                             name='user_subscriptions'),
+                        url(r'^%s(?P<id>\d+)/(?P<slug>.+)/%s$' % (_('users/'), _('preferences/')), app.users.user_preferences,
+                            name='user_preferences'),
                         url(r'^%s(?P<id>\d+)/(?P<slug>.+)/%s$' % (_('users/'), _('favorites/')),
                             app.users.user_favorites, name='user_favorites'),
                         url(r'^%s(?P<id>\d+)/(?P<slug>.+)/%s$' % (_('users/'), _('reputation/')),