X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/ca88510e4dd14206f623cababfda1e8a9daf70d4..1d0ead96808480b5c8fed05dd5b66a5c51d436fd:/forum/urls.py diff --git a/forum/urls.py b/forum/urls.py index c173bcf..58ccc2c 100644 --- a/forum/urls.py +++ b/forum/urls.py @@ -48,6 +48,7 @@ urlpatterns += patterns('', #url(r'^%s/$' % _('signin/'), 'django_authopenid.views.signin', name='signin'), url(r'^%s$' % _('faq/'), app.meta.static, {'content': settings.FAQ_PAGE_TEXT, 'title': _('FAQ')}, name='faq'), url(r'^%s$' % _('about/'), app.meta.static, {'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'^%s$' % _('privacy/'), app.meta.privacy, name='privacy'), url(r'^%s$' % _('logout/'), app.meta.logout, name='logout'), @@ -134,8 +135,11 @@ urlpatterns += patterns('', url(r'^%s%s$' % (_('admin/'), _('denormalize/')), app.admin.recalculate_denormalized, name="admin_denormalize"), url(r'^%s%s$' % (_('admin/'), _('go_bootstrap/')), app.admin.go_bootstrap, name="admin_go_bootstrap"), url(r'^%s%s$' % (_('admin/'), _('go_defaults/')), app.admin.go_defaults, name="admin_go_defaults"), - url(r'^%s(?P\w+)/$' % _('admin/'), app.admin.settings_set, name="admin_set"), - url(r'^%s(?P\w+)/(?P\w+)/$' % _('admin/'), app.admin.get_default, name="admin_default"), + url(r'^%s%s(?P\w+)/(?P\w+)/$' % (_('admin/'), _('settings/')), app.admin.get_default, name="admin_default"), + url(r'^%s%s$' % (_('admin/'), _('maintenance/')), app.admin.maintenance, name="admin_maintenance"), + url(r'^%s%s$' % (_('admin/'), _('flagged_posts/')), app.admin.flagged_posts, name="admin_flagged_posts"), + + url(r'^%s%s(?P\w+)/$' % (_('admin/'), _('settings/')), app.admin.settings_set, name="admin_set"), url(r'^feeds/rss/$', RssLastestQuestionsFeed, name="latest_questions_feed"), )