mirror of
https://github.com/django/django.git
synced 2025-04-22 00:04:43 +00:00
[1.4.x] Fixed #20665 -- Missing backslash in sitemaps documentation
Backport of 5005303ae7919eef26dab9f8ba279696966ebf1d from master.
This commit is contained in:
parent
e2b86571bf
commit
165cc1dc2f
@ -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$',
|
||||
|
Loading…
x
Reference in New Issue
Block a user