Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/liangliangyy/DjangoBlog
/ get_full_url
Method
get_full_url
blog/models.py:48–52 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
46
super().save(*args, **kwargs)
47
48
def
get_full_url(self):
49
site = get_current_site().domain
50
url =
"https://{site}{path}"
.format(site=site,
51
path=self.get_absolute_url())
52
return
url
53
54
class
Meta:
55
abstract = True
Callers
5
test_validate_article
Method · 0.45
get_view_on_site_url
Method · 0.45
convert_to_article_reply
Function · 0.45
model_post_save_callback
Function · 0.45
_get_article_seo_data
Method · 0.45
Calls
2
get_absolute_url
Method · 0.95
get_current_site
Function · 0.90
Tested by
1
test_validate_article
Method · 0.36