Hi all
I would appreciate if people could add some comments to the PR on removing contrib.sitemaps.ping_google().
Google have announced that the sitemaps ping API will disappear around January 2024, roughly the same time as the Django 5.0 release.
I have prepared the above PR which both deprecates and makes non-operational the code which calls this API - so calling ping_google()
would do nothing except raise a warning, and the same for the ping_google
management command. This is to avoid making making calls to an API endpoint which will no longer exist whilst retaining backwards compatibility.
@felixxm has suggested that perhaps making a backwards incompatible change would be more appropriate in this case and preferable to having methods and management commands which do nothing which may be confusing to end users.
I broadly agree with @felixxm but would welcome the thoughts of others before revising the PR.
Cheers!