X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/50c423fe1e15eb4054fce3cd3015706ac4669034..03460135dbc5d86b366424da72053a853db4ce34:/forum/urls.py diff --git a/forum/urls.py b/forum/urls.py index 51cccef..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, @@ -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"),