Commit 5005303a authored by Baptiste Mispelon's avatar Baptiste Mispelon
Browse files

Fixed #20665 -- Missing backslash in sitemaps documentation

Thanks to roman for the report.
parent d17d60d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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$',