diff options
| author | Rohith PR <praroh2@gmail.com> | 2021-05-15 11:41:14 +0530 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-05-21 11:00:54 +0200 |
| commit | 7cca22964c09e8dafc313a400c428242404d527a (patch) | |
| tree | cd6cbeaca8f3c95196e9ccd910f3dff443086763 /docs | |
| parent | 56003b21eae3813e93fdd74f2b206d91e566bb27 (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')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/ref/contrib/sitemaps.txt | 5 | ||||
| -rw-r--r-- | docs/releases/4.0.txt | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 1b5eb35769..00e20b151a 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -24,6 +24,9 @@ details on these changes. * The default value of the ``USE_TZ`` setting will change from ``False`` to ``True``. +* The default sitemap protocol for sitemaps built outside the context of a + request will change from ``'http'`` to ``'https'``. + .. _deprecation-removed-in-4.1: 4.1 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.** diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt index e1b55d8160..761b47b982 100644 --- a/docs/releases/4.0.txt +++ b/docs/releases/4.0.txt @@ -459,6 +459,9 @@ Miscellaneous * The undocumented ``django.utils.datetime_safe`` module is deprecated. +* The default sitemap protocol for sitemaps built outside the context of a + request will change from ``'http'`` to ``'https'`` in Django 5.0. + Features removed in 4.0 ======================= |
