diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-09-14 09:39:04 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-09-14 09:39:04 +0000 |
| commit | ea0fe604d86bc36c98836d52455c04c40b161c61 (patch) | |
| tree | 48ae5317df16b1dcdce9436f6e38a56e0159ec09 /docs | |
| parent | 83d2cb79cbad6083bb3b88e782c2490e159e89d1 (diff) | |
Fixed #9078: Added commas to the example URLconf lines so that they can be easily copied and pasted. Thanks to mo.longman@gmail.com for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/sitemaps.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index bdfb77c32f..e7cd224e3e 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -280,8 +280,8 @@ references individual sitemap files, one per each section defined in your 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 |
