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/auth/models.py:100–101 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
98
use_in_migrations = True
99
100
def
get_by_natural_key(self, name):
101
return
self.get(name=name)
102
103
async
def
aget_by_natural_key(self, name):
104
return
await self.aget(name=name)
Callers
6
get_by_natural_key
Method · 0.45
authenticate
Method · 0.45
authenticate
Method · 0.45
_get_user
Function · 0.45
groups_for_user
Function · 0.45
_validate_username
Method · 0.45
Calls
1
get
Method · 0.45
Tested by
no test coverage detected