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

Method get_full_url

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

Source from the content-addressed store, hash-verified

23 return self.email
24
25 def get_full_url(self):
26 site = get_current_site().domain
27 url = "https://{site}{path}".format(site=site,
28 path=self.get_absolute_url())
29 return url
30
31 class Meta:
32 ordering = ['-id']

Callers

nothing calls this directly

Calls 2

get_absolute_urlMethod · 0.95
get_current_siteFunction · 0.90

Tested by

no test coverage detected