module documentation
This module converts requested URLs to callback view functions. URLResolver is the main class here. Its resolve() method takes a URL (as a string) and returns a ResolverMatch object which provides access to all attributes of the resolved URL match.
Class |
|
No class docstring; 2/2 methods documented |
Class |
|
No class docstring; 0/1 instance variable, 1/2 method documented |
Class |
|
No class docstring; 0/5 instance variable, 0/1 class variable, 1/6 method documented |
Class |
|
Undocumented |
Function | _get |
Undocumented |
Function | _route |
Convert a path pattern into a regular expression. Return the regular expression and a dictionary mapping the capture names to the converters. For example, 'foo/<int:pk>' returns '^foo\/(?P<pk>[0-9]+)' and {'pk': <django... |
Constant | _PATH |
Undocumented |
Convert a path pattern into a regular expression. Return the regular expression and a dictionary mapping the capture names to the converters. For example, 'foo/<int:pk>' returns '^foo\/(?P<pk>[0-9]+)' and {'pk': <django.urls.converters.IntConverter>}.