diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt
index 29205c4..d3ce1cd 100644
a
|
b
|
Here's what the relevant URLconf lines would look like for the example above::
|
363 | 363 | |
364 | 364 | urlpatterns = [ |
365 | 365 | url(r'^sitemap\.xml$', views.index, {'sitemaps': sitemaps}), |
366 | | url(r'^sitemap-(?P<section>.+)\.xml$', views.sitemap, {'sitemaps': sitemaps}), |
| 366 | url(r'^sitemap-(?P<section>.+)\.xml$', views.sitemap, {'sitemaps': sitemaps}, |
| 367 | name='django.contrib.sitemaps.views.sitemap'), |
367 | 368 | ] |
368 | 369 | |
369 | 370 | This will automatically generate a :file:`sitemap.xml` file that references |
… |
… |
parameter to the ``sitemap`` and ``index`` views via the URLconf::
|
409 | 410 | url(r'^custom-sitemap-(?P<section>.+)\.xml$', views.sitemap, { |
410 | 411 | 'sitemaps': sitemaps, |
411 | 412 | 'template_name': 'custom_sitemap.html' |
412 | | }), |
| 413 | }, name='django.contrib.sitemaps.views.sitemap'), |
413 | 414 | ] |
414 | 415 | |
415 | 416 | |