﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33210	Sitemap framework URL examples lack `name` parameter (used by ping_google helper)	Carlton Gibson	Arkadiusz Adamski	"Migrated from https://github.com/django/djangoproject.com/issues/1103.

The `ping_google()` helper in the sitemaps framework looks for URLs named `'django.contrib.sitemaps.views.index'` and then `'django.contrib.sitemaps.views.sitemap'` to autodetect the sitemap URL, if one's not provided. 

* The docs examples don't show this. 
* the [https://docs.djangoproject.com/en/3.2/ref/contrib/sitemaps/#pinging-google Pinging Google docs] don't explain how the auto-detection works. 

The combination of these two means that you need to look at the source code to know how to correctly leverage the auto-detection — adding to the docs would clarify this. 

[https://github.com/django/django/pull/14994 Pull Request]"	Cleanup/optimization	closed	contrib.sitemaps	3.2	Normal	fixed	Documentation		Ready for checkin	1	0	0	0	0	0
