summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2013-06-27 09:42:09 +0200
committerBaptiste Mispelon <bmispelon@gmail.com>2013-06-27 09:42:09 +0200
commit5005303ae7919eef26dab9f8ba279696966ebf1d (patch)
treef6497120c56be7fe3ea0b813a2a9bfd502271627
parentd17d60d38dbc443d713facc2d831bf05434ee43b (diff)
Fixed #20665 -- Missing backslash in sitemaps documentation
Thanks to roman for the report.
-rw-r--r--docs/ref/contrib/sitemaps.txt2
1 files changed, 1 insertions, 1 deletions
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<section>.+)\.xml$',