resolve(path, urlconf=None)
[source]
path
is the URL path you want to resolve. As with reverse()
, you don’t need to worry about the urlconf
parameter. The function returns a ResolverMatch
object that allows you to access various metadata about the resolved URL.
If the URL does not resolve, the function raises a Resolver404
exception (a subclass of Http404
) .
Please login to continue.