X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/204b196b015876b87379c526b3f92e7e396464bd..03460135dbc5d86b366424da72053a853db4ce34:/forum/urls.py diff --git a/forum/urls.py b/forum/urls.py index 107a01d..f39533a 100644 --- a/forum/urls.py +++ b/forum/urls.py @@ -49,6 +49,7 @@ urlpatterns += patterns('', {'content': settings.ABOUT_PAGE_TEXT, 'title': _('About')}, name='about'), url(r'^%s$' % _('markdown_help/'), app.meta.markdown_help, name='markdown_help'), url(r'^opensearch\.xml$', app.meta.opensearch, name='opensearch'), + url(r'^opensearch\.xml$', app.meta.opensearch, name='opensearch'), url(r'^%s$' % _('privacy/'), app.meta.privacy, name='privacy'), url(r'^%s$' % _('logout/'), app.meta.logout, name='logout'), url(r'^%s(?P\d+)/%s$' % (_('answers/'), _('edit/')), app.writers.edit_answer, @@ -84,7 +85,7 @@ urlpatterns += patterns('', , url(r'^%s(?P\d+)/' % _('flag/'), app.commands.flag_post, name='flag_post'), url(r'^%s(?P\d+)/' % _('delete/'), app.commands.delete_post, name='delete_post'), - url(r'^%s(?P\d+)/(?P\d+)?/$' % _('subscribe/'), app.commands.subscribe, name="subscribe"), + url(r'^%s(?P\d+)/(?P\d+)?$' % _('subscribe/'), app.commands.subscribe, name="subscribe"), url(r'^%s(?P\d+)/$' % _('subscribe/'), app.commands.subscribe, name="subscribe_simple"), url(r'^%s' % _('matching_tags/'), app.commands.matching_tags, name='matching_tags'), url(r'^%s(?P\d+)/' % _('node_markdown/'), app.commands.node_markdown, name='node_markdown'), @@ -116,7 +117,7 @@ urlpatterns += patterns('', url(r'^%s$' % _('users/'), app.users.users, name='users'), - url(r'^%s$' % _('online_users/'), app.users.online_users, name='online_users'), + # url(r'^%s$' % _('online_users/'), app.users.online_users, name='online_users'), url(r'^%s(?P\d+)/%s$' % (_('users/'), _('edit/')), app.users.edit_user, name='edit_user'), @@ -190,13 +191,15 @@ urlpatterns += patterns('', name="admin_flagged_posts"), url(r'^%s%s$' % (_('admin/'), _('static_pages/')), app.admin.static_pages, name="admin_static_pages"), - url(r'^%s%s$' % (_('admin/'), _('moderation/')), app.admin.moderation, name="admin_moderation"), url(r'^%s%s%s$' % (_('admin/'), _('static_pages/'), _('new/')), app.admin.edit_page, name="admin_new_page"), url(r'^%s%s%s(?P\d+)/$' % (_('admin/'), _('static_pages/'), _('edit/')), app.admin.edit_page , name="admin_edit_page"), + url(r'^%s%s(?P\w+)/$' % (_('admin/'), _('tools/')), app.admin.tools_page, + name="admin_tools"), + url(r'^%s%s(?P\w+)/$' % (_('admin/'), _('settings/')), app.admin.settings_set, name="admin_set"),