diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/sitemaps.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index 8cd9a22304..5c91529537 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -242,12 +242,12 @@ Note: This attribute defines the protocol (``'http'`` or ``'https'``) of the URLs in the sitemap. If it isn't set, the protocol with which the sitemap was requested is used. If the sitemap is built outside the - context of a request, the default is ``'http'``. + context of a request, the default is ``'https'``. - .. deprecated:: 4.0 + .. versionchanged:: 5.0 - The default protocol for sitemaps built outside the context of a - request will change from ``'http'`` to ``'https'`` in Django 5.0. + In older versions, the default protocol for sitemaps built outside + the context of a request was ``'http'``. .. attribute:: Sitemap.limit |
