MCPcopy Create free account
hub / github.com/codemistic/Web-Development / display_id

Method display_id

locallibrary/catalog/models.py:28–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 return self.title
27
28 def display_id(self):
29 return self.id
30
31 def get_absolute_url(self):
32 return reverse("book_detail", args=[str(self.id)])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected