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

Method location

django/contrib/sitemaps/__init__.py:80–81  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

78 return []
79
80 def location(self, item):
81 return item.get_absolute_url()
82
83 def get_protocol(self, protocol=None):
84 # Determine protocol

Callers

nothing calls this directly

Calls 1

get_absolute_urlMethod · 0.45

Tested by

no test coverage detected