From 5005303ae7919eef26dab9f8ba279696966ebf1d Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Thu, 27 Jun 2013 09:42:09 +0200 Subject: [PATCH] Fixed #20665 -- Missing backslash in sitemaps documentation Thanks to roman for the report. --- docs/ref/contrib/sitemaps.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index 56a15cb9e0..4467ed3a6e 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -358,7 +358,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
.+)\.xml$',