Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ resolve
Function
resolve
django/urls/base.py:22–25 ·
view source on GitHub ↗
(path, urlconf=None)
Source
from the content-addressed store, hash-verified
20
21
22
def
resolve(path, urlconf=None):
23
if
urlconf is None:
24
urlconf = get_urlconf()
25
return
get_resolver(urlconf).resolve(path)
26
27
28
def
reverse(
Callers
15
catch_all_view
Method · 0.90
add_preserved_filters
Function · 0.90
request
Method · 0.90
request
Method · 0.90
get_caller
Function · 0.90
test_resolve_admin_views
Method · 0.90
test_reverse_translated_with_captured_kwargs
Method · 0.90
test_path_lookup_without_parameters
Method · 0.90
test_path_lookup_with_typed_parameters
Method · 0.90
test_path_lookup_with_multiple_parameters
Method · 0.90
test_path_lookup_with_multiple_parameters_and_extra_kwarg
Method · 0.90
test_path_lookup_with_extra_kwarg
Method · 0.90
Calls
3
get_urlconf
Function · 0.85
get_resolver
Function · 0.85
resolve
Method · 0.45
Tested by
15
test_resolve_admin_views
Method · 0.72
test_reverse_translated_with_captured_kwargs
Method · 0.72
test_path_lookup_without_parameters
Method · 0.72
test_path_lookup_with_typed_parameters
Method · 0.72
test_path_lookup_with_multiple_parameters
Method · 0.72
test_path_lookup_with_multiple_parameters_and_extra_kwarg
Method · 0.72
test_path_lookup_with_extra_kwarg
Method · 0.72
test_two_variable_at_start_of_path_pattern
Method · 0.72
test_re_path
Method · 0.72
test_re_path_with_optional_parameter
Method · 0.72
test_re_path_with_missing_optional_parameter
Method · 0.72
test_path_lookup_with_inclusion
Method · 0.72