Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ has_module_perms
Method
has_module_perms
django/contrib/auth/models.py:624–625 ·
view source on GitHub ↗
(self, module)
Source
from the content-addressed store, hash-verified
622
return
True
623
624
def
has_module_perms(self, module):
625
return
_user_has_module_perms(self, module)
626
627
async
def
ahas_module_perms(self, module):
628
return
await _auser_has_module_perms(self, module)
Callers
4
test_custom_perms
Method · 0.95
_user_has_module_perms
Function · 0.45
__bool__
Method · 0.45
has_module_permission
Method · 0.45
Calls
1
_user_has_module_perms
Function · 0.85
Tested by
1
test_custom_perms
Method · 0.76