Author: ubernostrum
Date: 2008-09-02 23:42:49 -0500 (Tue, 02 Sep 2008)
New Revision: 8905
Modified:
django/trunk/docs/ref/contrib/sitemaps.txt
Log:
Fixed #8804: corrected URL example in sitemaps docs
Modified: django/trunk/docs/ref/contrib/sitemaps.txt
===================================================================
--- django/trunk/docs/ref/contrib/sitemaps.txt 2008-09-03 04:40:52 UTC (rev
8904)
+++ django/trunk/docs/ref/contrib/sitemaps.txt 2008-09-03 04:42:49 UTC (rev
8905)
@@ -281,7 +281,7 @@
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---