diff --git a/django-stubs/contrib/sitemaps/__init__.pyi b/django-stubs/contrib/sitemaps/__init__.pyi index 03c99772c..c32af29f9 100644 --- a/django-stubs/contrib/sitemaps/__init__.pyi +++ b/django-stubs/contrib/sitemaps/__init__.pyi @@ -27,6 +27,9 @@ class Sitemap(Generic[_ItemT]): def location(self, item: _ItemT) -> str: ... @property def paginator(self) -> Paginator: ... + def get_languages_for_item(self, item: _ItemT) -> list[str]: ... + def get_protocol(self, protocol: str | None = ...) -> str: ... + def get_domain(self, site: Site | RequestSite | None = ...) -> str: ... def get_urls( self, page: int | str = ..., site: Site | RequestSite | None = ..., protocol: str | None = ... ) -> list[dict[str, Any]]: ...