Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.4.x] Fixed #20665 -- Missing backslash in sitemaps documentation

Backport of 5005303 from master.
  • Loading branch information...
commit 165cc1dc2f1cda87f7da65e8a6483318d3ca12be 1 parent e2b8657
@bmispelon bmispelon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/contrib/sitemaps.txt
View
2  docs/ref/contrib/sitemaps.txt
@@ -318,7 +318,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$',
Please sign in to comment.
Something went wrong with that request. Please try again.