Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ get_resolver
Function
get_resolver
django/urls/resolvers.py:108–111 ·
view source on GitHub ↗
(urlconf=None)
Source
from the content-addressed store, hash-verified
106
107
108
def
get_resolver(urlconf=None):
109
if
urlconf is None:
110
urlconf = settings.ROOT_URLCONF
111
return
_get_cached_resolver(urlconf)
112
113
114
@functools.cache
Callers
15
get_context_data
Method · 0.90
_get_view_func
Method · 0.90
run
Method · 0.90
is_language_prefix_patterns_used
Function · 0.90
check_url_config
Function · 0.90
check_url_namespaces_unique
Function · 0.90
check_custom_error_handlers
Function · 0.90
resolve_request
Method · 0.90
response_for_exception
Function · 0.90
raises404
Function · 0.90
test_resolver_cache_default__root_urlconf
Method · 0.90
test_lazy_route_resolves
Method · 0.90
Calls
1
_get_cached_resolver
Function · 0.85
Tested by
8
test_resolver_cache_default__root_urlconf
Method · 0.72
test_lazy_route_resolves
Method · 0.72
test_resolver_repr
Method · 0.72
test_reverse_lazy_object_coercion_by_resolve
Method · 0.72
test_resolver_reverse
Method · 0.72
test_resolver_reverse_conflict
Method · 0.72
test_namespaced_view_detail
Method · 0.72
test_view_detail_as_method
Method · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…