diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/sitemaps.txt | 9 | ||||
| -rw-r--r-- | docs/releases/1.8.txt | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index 8c48651054..e6817dbba4 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -232,6 +232,15 @@ Sitemap class reference sitemap was requested is used. If the sitemap is built outside the context of a request, the default is ``'http'``. + .. attribute:: Sitemap.i18n + + .. versionadded:: 1.8 + + **Optional.** + + A boolean attribute that defines if the URLs of this sitemap should + be generated using all of your :setting:`LANGUAGES`. The default is + ``False``. Shortcuts ========= diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 54bfd2b2ea..b406c661fe 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -83,7 +83,8 @@ Minor features :mod:`django.contrib.sitemaps` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -* ... +* The new :attr:`Sitemap.i18n <django.contrib.sitemaps.Sitemap.i18n>` attribute + allows you to generate a sitemap based on the :setting:`LANGUAGES` setting. :mod:`django.contrib.sites` ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
