X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/49db7362d8a0e4050166b3b34999781749e6eef4..576bde12866658986362cf4f2e35e6fd1d1a1a73:/forum/urls.py diff --git a/forum/urls.py b/forum/urls.py index 5c5f622..e964bc4 100644 --- a/forum/urls.py +++ b/forum/urls.py @@ -33,8 +33,8 @@ urlpatterns += patterns('', url(r'^$', app.readers.index, name='index'), url(r'^%s(.*)' % _('nimda/'), admin.site.root), - url(r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}, - name='sitemap'), + url(r'^sitemap.xml$', 'forum.sitemap.index', {'sitemaps': sitemaps}), + url(r'^sitemap-(?P
.+)\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}), (r'^favicon\.ico$', app.meta.favicon), url(r'^cstyle\.css$', app.meta.custom_css, name="custom_css"),