MCPcopy
hub / github.com/liangliangyy/DjangoBlog / get_absolute_url

Method get_absolute_url

accounts/models.py:17–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15 source = models.CharField(_('create source'), max_length=100, blank=True)
16
17 def get_absolute_url(self):
18 return reverse(
19 'blog:author_detail', kwargs={
20 'author_name': self.username})
21
22 def __str__(self):
23 return self.email

Callers 1

get_full_urlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected