summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-06 12:55:14 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-17 11:49:15 +0100
commit4eb97a90f0b4484fb13dd2166a61f9fe7256e9d0 (patch)
tree2cc059396547f66cedc19c4e842d399dbe196fae /docs
parent602d9a312facc64d44619c61c3863d3d0820006a (diff)
Refs #32375 -- Changed default sitemap protocol to https.
Per deprecation timeline.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/sitemaps.txt8
-rw-r--r--docs/releases/5.0.txt3
2 files changed, 7 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
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt
index f90e2f763e..f2904d3359 100644
--- a/docs/releases/5.0.txt
+++ b/docs/releases/5.0.txt
@@ -264,6 +264,9 @@ to remove usage of these features.
* The default value of the ``USE_TZ`` setting is changed from ``False`` to
``True``.
+* The default sitemap protocol for sitemaps built outside the context of a
+ request is changed from ``'http'`` to ``'https'``.
+
See :ref:`deprecated-features-4.1` for details on these changes, including how
to remove usage of these features.