diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2013-06-27 09:42:09 +0200 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2013-06-27 09:45:58 +0200 |
| commit | 165cc1dc2f1cda87f7da65e8a6483318d3ca12be (patch) | |
| tree | 462683e8ab273ed03b90ddd440be9b30ccea9bfd | |
| parent | e2b86571bfa3503fe43adfa92e9c9f4271a7a135 (diff) | |
[1.4.x] Fixed #20665 -- Missing backslash in sitemaps documentation
Backport of 5005303ae7919eef26dab9f8ba279696966ebf1d from master.
| -rw-r--r-- | docs/ref/contrib/sitemaps.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index 3e29ec88eb..8fd07a66b1 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/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$', |
