Fixed #20665 -- Missing backslash in sitemaps documentation

Thanks to roman for the report.
This commit is contained in:
Baptiste Mispelon 2013-06-27 09:42:09 +02:00
parent d17d60d38d
commit 5005303ae7
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ with a caching decorator -- you must name your sitemap view and pass
from django.views.decorators.cache import cache_page from django.views.decorators.cache import cache_page
urlpatterns = patterns('', urlpatterns = patterns('',
url(r'^sitemap.xml$', url(r'^sitemap\.xml$',
cache_page(86400)(sitemaps_views.index), cache_page(86400)(sitemaps_views.index),
{'sitemaps': sitemaps, 'sitemap_url_name': 'sitemaps'}), {'sitemaps': sitemaps, 'sitemap_url_name': 'sitemaps'}),
url(r'^sitemap-(?P<section>.+)\.xml$', url(r'^sitemap-(?P<section>.+)\.xml$',