diff options
| author | Andrew Northall <andrew@northall.me.uk> | 2023-07-02 21:48:56 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-07-10 05:59:35 +0200 |
| commit | 6d427288e410e9cad39b1aa1b4d4893fbd391282 (patch) | |
| tree | 6248db20899d162ab4df51d896986ec3f47fad12 /docs/releases/2.2.txt | |
| parent | 2584783f46922bcb456ceb9700a3726314df65d3 (diff) | |
Fixed #34688 -- Removed contrib.sitemaps.ping_google() and ping_google management command.
Thanks Joachim Jablon for the report.
Google has deprecated the sitemap ping endpoint, and will be removing
it in 6 months ~January 2024.
Diffstat (limited to 'docs/releases/2.2.txt')
| -rw-r--r-- | docs/releases/2.2.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index e27fdbbca8..664549473e 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -455,10 +455,10 @@ Miscellaneous passed as a value to encode because ``None`` can't be encoded in GET and POST data. Either pass an empty string or omit the value. -* The :djadmin:`ping_google` management command now defaults to ``https`` +* The ``ping_google`` management command now defaults to ``https`` instead of ``http`` for the sitemap's URL. If your site uses http, use the - new :option:`ping_google --sitemap-uses-http` option. If you use the - :func:`~django.contrib.sitemaps.ping_google` function, set the new + new ``ping_google --sitemap-uses-http`` option. If you use the + ``django.contrib.sitemaps.ping_google`` function, set the new ``sitemap_uses_https`` argument to ``False``. * :djadmin:`runserver` no longer supports ``pyinotify`` (replaced by Watchman). |
