Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #9078: Added commas to the example URLconf lines so that they c…

…an 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
  • Loading branch information...
commit ea0fe604d86bc36c98836d52455c04c40b161c61 1 parent 83d2cb7
Russell Keith-Magee authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/ref/contrib/sitemaps.txt
4  docs/ref/contrib/sitemaps.txt
@@ -280,8 +280,8 @@ references individual sitemap files, one per each section defined in your
280 280
 
281 281
 Here's what the relevant URLconf lines would look like for the example above::
282 282
 
283  
-   (r'^sitemap.xml$', 'django.contrib.sitemaps.views.index', {'sitemaps': sitemaps})
284  
-   (r'^sitemap-(?P<section>.+)\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps})
  283
+   (r'^sitemap.xml$', 'django.contrib.sitemaps.views.index', {'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 ea0fe60

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