X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/57036ac147a3759cda54aefa125697c16b991cbb..b41b4ee4bbc7ad0352169476bfa43a11d2e48ae0:/forum/urls.py diff --git a/forum/urls.py b/forum/urls.py index 3e9d19b..5485379 100644 --- a/forum/urls.py +++ b/forum/urls.py @@ -27,8 +27,9 @@ core_urls = ( url(r'^$', app.readers.index, name='index'), admin_url, url(r'^sitemap.xml$', 'forum.sitemap.index', {'sitemaps': sitemaps}), - url(r'^sitemap-(?P
.+)\.xml$', 'forum.sitemap.sitemap', {'sitemaps': sitemaps}), - + url(r'^sitemap-(?P
.+)-(?P\d+)\.xml$', 'forum.sitemap.sitemap', {'sitemaps': sitemaps}, name="sitemap_section_page"), + url(r'^sitemap-(?P
.+)\.xml$', 'forum.sitemap.sitemap_section_index', {'sitemaps': sitemaps}, name="sitemap_section_index"), + url(r'^favicon\.ico$', app.meta.favicon), url(r'^cstyle\.css$', app.meta.custom_css, name='custom_css'), @@ -141,7 +142,8 @@ core_urls = ( 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%s(?P\d+)/$' % (_('admin/'), _('static_pages/'), _('delete/')), app.admin.delete_page, name='admin_delete_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'),