Skip to content

Commit f85d5d5

Browse files
committed
Merge pull request django-cms#1411 from neoascetic/patch-2
Better url pattern for sitemap in docs
2 parents dfa7450 + 436717d commit f85d5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/sitemap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Configuration
2121
* Add :mod:`django.contrib.sitemaps` to your project's :setting:`django:INSTALLED_APPS`
2222
setting.
2323
* Add ``from cms.sitemaps import CMSSitemap`` to the top of your main ``urls.py``.
24-
* Add ``url(r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': {'cmspages': CMSSitemap}}),``
24+
* Add ``url(r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': {'cmspages': CMSSitemap}}),``
2525
to your urlpatterns.
2626

2727

0 commit comments

Comments
 (0)