Author: russellm
Date: 2008-09-14 04:39:04 -0500 (Sun, 14 Sep 2008)
New Revision: 9026
Modified:
django/trunk/docs/ref/contrib/sitemaps.txt
Log:
Fixed #9078: Added commas to the example URLconf lines so that they can be
easily copied and pasted. Thanks to [EMAIL PROTECTED] for the suggestion.
Modified: django/trunk/docs/ref/contrib/sitemaps.txt
===================================================================
--- django/trunk/docs/ref/contrib/sitemaps.txt 2008-09-14 09:34:31 UTC (rev
9025)
+++ django/trunk/docs/ref/contrib/sitemaps.txt 2008-09-14 09:39:04 UTC (rev
9026)
@@ -280,8 +280,8 @@
Here's 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.xml$', 'django.contrib.sitemaps.views.index', {'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
-~----------~----~----~----~------~----~------~--~---