]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/urls.py
#OSQA-385, fixing the links of sitemaps when site is running using SCRIPT_ALIAS.
[osqa.git] / forum / urls.py
index e964bc48960b329c3ba0afd29d21c410c5036424..1771e2c8ad7de1814cef13a43974ce6d824dd662 100644 (file)
@@ -34,7 +34,7 @@ urlpatterns += patterns('',
                         url(r'^%s(.*)' % _('nimda/'), admin.site.root),
                         
                         url(r'^sitemap.xml$', 'forum.sitemap.index', {'sitemaps': sitemaps}),
-                        url(r'^sitemap-(?P<section>.+)\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}),
+                        url(r'^sitemap-(?P<section>.+)\.xml$', 'forum.sitemap.sitemap', {'sitemaps': sitemaps}),
 
                         (r'^favicon\.ico$', app.meta.favicon),
                         url(r'^cstyle\.css$', app.meta.custom_css, name="custom_css"),