MCPcopy
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
108def 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_dataMethod · 0.90
_get_view_funcMethod · 0.90
runMethod · 0.90
check_url_configFunction · 0.90
resolve_requestMethod · 0.90
response_for_exceptionFunction · 0.90
raises404Function · 0.90

Calls 1

_get_cached_resolverFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…