From 7cca22964c09e8dafc313a400c428242404d527a Mon Sep 17 00:00:00 2001 From: Rohith PR Date: Sat, 15 May 2021 11:41:14 +0530 Subject: Fixed #32375 -- Started deprecation toward changing the default sitemap protocol to https. The default sitemap protocol, when it is built outside the context of a request, will be changed from 'http' to 'https' in Django 5.0. --- docs/ref/contrib/sitemaps.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index 43ad1212d9..9aaf08ca03 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -235,6 +235,11 @@ Note: sitemap was requested is used. If the sitemap is built outside the context of a request, the default is ``'http'``. + .. deprecated:: 4.0 + + The default protocol for sitemaps built outside the context of a + request will change from ``'http'`` to ``'https'`` in Django 5.0. + .. attribute:: Sitemap.limit **Optional.** -- cgit v1.3