Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ get_by_natural_key
Method
get_by_natural_key
django/contrib/sites/models.py:75–76 ·
view source on GitHub ↗
(self, domain)
Source
from the content-addressed store, hash-verified
73
SITE_CACHE = {}
74
75
def
get_by_natural_key(self, domain):
76
return
self.get(domain=domain)
77
78
79
class
Site(models.Model):
Callers
5
build_instance
Function · 0.45
m2m_convert
Function · 0.45
deserialize_fk_value
Function · 0.45
_handle_fk_field_node
Method · 0.45
m2m_convert
Method · 0.45
Calls
1
get
Method · 0.45
Tested by
no test coverage detected