summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorRohith PR <praroh2@gmail.com>2021-05-15 11:41:14 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-21 11:00:54 +0200
commit7cca22964c09e8dafc313a400c428242404d527a (patch)
treecd6cbeaca8f3c95196e9ccd910f3dff443086763 /docs/ref
parent56003b21eae3813e93fdd74f2b206d91e566bb27 (diff)
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.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/sitemaps.txt5
1 files changed, 5 insertions, 0 deletions
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.**