MCPcopy
hub / github.com/django/django / location

Method location

django/contrib/gis/sitemaps/kml.py:66–74  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

64 return self.locations
65
66 def location(self, obj):
67 return reverse(
68 "django.contrib.gis.sitemaps.views.%s" % self.geo_format,
69 kwargs={
70 "label": obj[0],
71 "model": obj[1],
72 "field_name": obj[2],
73 },
74 )
75
76
77class KMZSitemap(KMLSitemap):

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.90

Tested by

no test coverage detected