Plain is headed towards 1.0! Subscribe for development updates →

urls

Route requests to views.

 1from .base import (
 2    clear_url_caches,
 3    get_urlconf,
 4    is_valid_path,
 5    resolve,
 6    reverse,
 7    reverse_lazy,
 8    set_urlconf,
 9)
10from .conf import include, path, re_path
11from .converters import register_converter
12from .exceptions import NoReverseMatch, Resolver404
13from .resolvers import (
14    ResolverMatch,
15    URLPattern,
16    URLResolver,
17    get_ns_resolver,
18    get_resolver,
19)
20
21__all__ = [
22    "NoReverseMatch",
23    "URLPattern",
24    "URLResolver",
25    "Resolver404",
26    "ResolverMatch",
27    "clear_url_caches",
28    "get_ns_resolver",
29    "get_resolver",
30    "get_urlconf",
31    "include",
32    "is_valid_path",
33    "path",
34    "re_path",
35    "register_converter",
36    "resolve",
37    "reverse",
38    "reverse_lazy",
39    "set_urlconf",
40]