Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #8804: corrected URL example in sitemaps docs

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a92d511a17e2ff2069d96649775569383d983e59 1 parent 87da9cd
James Bennett authored September 03, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/ref/contrib/sitemaps.txt
2  docs/ref/contrib/sitemaps.txt
@@ -281,7 +281,7 @@ references individual sitemap files, one per each section defined in your
281 281
 Here is what the relevant URLconf lines would look like for the example above::
282 282
 
283 283
    (r'^sitemap.xml$', 'django.contrib.sitemaps.views.index', {'sitemaps': sitemaps})
284  
-   (r'^sitemap-(?P<section>.+).xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps})
  284
+   (r'^sitemap-(?P<section>.+)\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps})
285 285
 
286 286
 This will automatically generate a :file:`sitemap.xml` file that references both
287 287
 :file:`sitemap-flatpages.xml` and :file:`sitemap-blog.xml`. The

0 notes on commit a92d511

Please sign in to comment.
Something went wrong with that request. Please try again.