class documentation

class KMLSitemap(Sitemap):

Known subclasses: django.contrib.gis.sitemaps.KMZSitemap

View In Hierarchy

A minimal hook to produce KML sitemaps.
Method __init__ Undocumented
Method ​_build​_kml​_sources Go through the given sources and return a 3-tuple of the application label, module name, and field name of every GeometryField encountered in the sources.
Method get​_urls This method is overridden so the appropriate geo_format attribute is placed on each URL element.
Method items Undocumented
Method location Undocumented
Class Variable geo​_format Undocumented
Instance Variable locations Undocumented

Inherited from Sitemap:

Class Variable alternates Undocumented
Class Variable i18n Undocumented
Class Variable languages Undocumented
Class Variable limit Undocumented
Class Variable protocol Undocumented
Class Variable x​_default Undocumented
Method ​_get Undocumented
Method ​_items Undocumented
Method ​_languages Undocumented
Method ​_location Undocumented
Method ​_urls Undocumented
Method get​_domain Undocumented
Method get​_protocol Undocumented
Instance Variable latest​_lastmod Undocumented
Property paginator Undocumented
def __init__(self, locations=None):

Undocumented

def _build_kml_sources(self, sources):

Go through the given sources and return a 3-tuple of the application label, module name, and field name of every GeometryField encountered in the sources.

If no sources are provided, then all models.

def get_urls(self, page=1, site=None, protocol=None):
This method is overridden so the appropriate geo_format attribute is placed on each URL element.
def items(self):

Undocumented

def location(self, obj):
geo_format: str =

Undocumented

locations =

Undocumented