Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/liangliangyy/DjangoBlog
/ get_current_site
Function
get_current_site
djangoblog/utils.py:98–100 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
96
97
@cache_decorator()
98
def
get_current_site():
99
site = Site.objects.get_current()
100
return
site
101
102
103
class
CommonMarkdown:
Callers
15
test_validate_article
Method · 0.90
get_full_url
Method · 0.90
get_view_on_site_url
Method · 0.90
load_breadcrumb
Function · 0.90
ping_baidu.py
File · 0.90
get_redirecturl
Function · 0.90
emailconfirm
Function · 0.90
form_valid
Method · 0.90
get_full_url
Method · 0.90
form_valid
Method · 0.90
oauth_user_login_signal_handler
Function · 0.90
model_post_save_callback
Function · 0.90
Calls
no outgoing calls
Tested by
2
test_validate_article
Method · 0.72
test_validate_account
Method · 0.68