mirror of https://github.com/django/django.git
[1.5.x] Fixed #20665 -- Missing backslash in sitemaps documentation
Backport of 5005303ae7
from master.
This commit is contained in:
parent
030ef4d1af
commit
20295f2788
|
@ -322,7 +322,7 @@ with a caching decorator -- you must name your sitemap view and pass
|
|||
from django.views.decorators.cache import cache_page
|
||||
|
||||
urlpatterns = patterns('',
|
||||
url(r'^sitemap.xml$',
|
||||
url(r'^sitemap\.xml$',
|
||||
cache_page(86400)(sitemaps_views.index),
|
||||
{'sitemaps': sitemaps, 'sitemap_url_name': 'sitemaps'}),
|
||||
url(r'^sitemap-(?P<section>.+)\.xml$',
|
||||
|
|
Loading…
Reference in New Issue