From a92d511a17e2ff2069d96649775569383d983e59 Mon Sep 17 00:00:00 2001 From: James Bennett Date: Wed, 3 Sep 2008 04:42:49 +0000 Subject: [PATCH] Fixed #8804: corrected URL example in sitemaps docs git-svn-id: http://code.djangoproject.com/svn/django/trunk@8905 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/sitemaps.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index b3f682b687..a6ed4f8a25 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -281,7 +281,7 @@ references individual sitemap files, one per each section defined in your Here is what the relevant URLconf lines would look like for the example above:: (r'^sitemap.xml$', 'django.contrib.sitemaps.views.index', {'sitemaps': sitemaps}) - (r'^sitemap-(?P
.+).xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}) + (r'^sitemap-(?P
.+)\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}) This will automatically generate a :file:`sitemap.xml` file that references both :file:`sitemap-flatpages.xml` and :file:`sitemap-blog.xml`. The