You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 959B

1234567891011121314151617181920212223
  1. from .base import (
  2. clear_script_prefix, clear_url_caches, get_script_prefix, get_urlconf,
  3. is_valid_path, resolve, reverse, reverse_lazy, set_script_prefix,
  4. set_urlconf, translate_url,
  5. )
  6. from .conf import include, path, re_path
  7. from .converters import register_converter
  8. from .exceptions import NoReverseMatch, Resolver404
  9. from .resolvers import (
  10. LocalePrefixPattern, ResolverMatch, URLPattern, URLResolver,
  11. get_ns_resolver, get_resolver,
  12. )
  13. from .utils import get_callable, get_mod_func
  14. __all__ = [
  15. 'LocalePrefixPattern', 'NoReverseMatch', 'URLPattern',
  16. 'URLResolver', 'Resolver404', 'ResolverMatch', 'clear_script_prefix',
  17. 'clear_url_caches', 'get_callable', 'get_mod_func', 'get_ns_resolver',
  18. 'get_resolver', 'get_script_prefix', 'get_urlconf', 'include',
  19. 'is_valid_path', 'path', 're_path', 'register_converter', 'resolve',
  20. 'reverse', 'reverse_lazy', 'set_script_prefix', 'set_urlconf',
  21. 'translate_url',
  22. ]