Ticket #8804: 8804.diff
File 8804.diff, 751 bytes (added by , 16 years ago) |
---|
-
docs/ref/contrib/sitemaps.txt
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