diff options
| author | James Bennett <ubernostrum@gmail.com> | 2008-09-03 04:42:49 +0000 |
|---|---|---|
| committer | James Bennett <ubernostrum@gmail.com> | 2008-09-03 04:42:49 +0000 |
| commit | a92d511a17e2ff2069d96649775569383d983e59 (patch) | |
| tree | 505f49aaecf1f079cc4cb2cc281359dbf1b73321 /docs | |
| parent | 87da9cd7594f9b95270087d24d816a51eaecf4a3 (diff) | |
Fixed #8804: corrected URL example in sitemaps docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -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 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<section>.+).xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}) + (r'^sitemap-(?P<section>.+)\.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 |
