mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Refs #32375 -- Changed default sitemap protocol to https.
Per deprecation timeline.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user