What steps will reproduce the problem?
1. in urls.py
from django.contrib.sitemaps import views as sitemap_views
(r'^sitemap.xml$',sitemap_views.index, {'sitemaps': sitemaps}),
(r'^sitemap-(?P<section>.+)\.xml$',sitemap_views.sitemap,
{'sitemaps': sitemaps}),
(r'^forum/', include('forum.urls')),
2.
vists www.example.com/sitemap.xml
What is the expected output? What do you see instead?
the url in sitemap.xml will be "www.example.com/forum/sitemap-
section.xml "
but it should be " www.example.com/sitemap-section.xml
What version of the product are you using? On what operating
system?
django 1.1
Please provide any additional information below.
i'm not sure if this's the problem of django-forum.
since django.contrib.sitemap use
'django.contrib.sitemaps.views.sitemap' for the url reversing.
Original issue reported on code.google.com by ask...@gmail.com on 17 Oct 2009 at 2:48
Original issue reported on code.google.com by
ask...@gmail.com
on 17 Oct 2009 at 2:48