MCPcopy
hub / github.com/django/django / get_absolute_url

Method get_absolute_url

tests/resolve_url/models.py:11–12  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9 importance = models.IntegerField()
10
11 def get_absolute_url(self):
12 return "/importance/%d/" % self.importance

Callers 1

test_modelMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_modelMethod · 0.76