MCPcopy
hub / github.com/django/django / UnimportantThing

Class UnimportantThing

tests/resolve_url/models.py:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8class UnimportantThing(models.Model):
9 importance = models.IntegerField()
10
11 def get_absolute_url(self):
12 return "/importance/%d/" % self.importance

Callers 1

test_modelMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_modelMethod · 0.68