MCPcopy
hub / github.com/django/django / __init__

Method __init__

django/contrib/gis/sitemaps/kml.py:15–18  ·  view source on GitHub ↗
(self, locations=None)

Source from the content-addressed store, hash-verified

13 geo_format = "kml"
14
15 def __init__(self, locations=None):
16 # If no locations specified, then we try to build for
17 # every model in installed applications.
18 self.locations = self._build_kml_sources(locations)
19
20 def _build_kml_sources(self, sources):
21 """

Callers

nothing calls this directly

Calls 1

_build_kml_sourcesMethod · 0.95

Tested by

no test coverage detected