From 20295f278815598858ada0096324f77088a0df52 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Thu, 27 Jun 2013 09:42:09 +0200 Subject: [PATCH] [1.5.x] Fixed #20665 -- Missing backslash in sitemaps documentation Backport of 5005303ae7919eef26dab9f8ba279696966ebf1d from master. --- 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 7c46874bfca..6d37c030438 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -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
.+)\.xml$',