Undocumented
Module | base |
Undocumented |
Module | conf |
Functions for use in URLsconfs. |
Module | converters |
Undocumented |
Module | exceptions |
Undocumented |
Module | resolvers |
This module converts requested URLs to callback view functions. |
Module | utils |
Undocumented |
From __init__.py
:
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
No class docstring; 1/1 property, 0/4 instance variable, 1/6 method documented |
Class |
|
No class docstring; 0/5 property, 0/12 instance variable, 0/10 method, 1/2 static method documented |
Exception |
|
Undocumented |
Exception |
|
Undocumented |
Function | clear |
Unset the script prefix for the current thread. |
Function | clear |
Undocumented |
Function | get |
Return a callable corresponding to lookup_view. * If lookup_view is already a callable, return it. * If lookup_view is a string import path that can be resolved to a callable, import that callable and return it, otherwise raise an exception (ImportError or ViewDoesNotExist). |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | get |
Return the currently active script prefix. Useful for client code that wishes to construct their own URLs manually (although accessing the request instance is normally going to be a lot cleaner). |
Function | get |
Return the root URLconf to use for the current thread if it has been changed from the default one. |
Function | include |
Undocumented |
Function | is |
Return the ResolverMatch if the given path resolves against the default URL resolver, False otherwise. This is a convenience method to make working with "is this a match?" cases easier, avoiding try... |
Function | register |
Undocumented |
Function | resolve |
Undocumented |
Function | reverse |
Undocumented |
Function | set |
Set the script prefix for the current thread. |
Function | set |
Set the URLconf for the current thread (overriding the default one in settings). If urlconf_name is None, revert back to the default. |
Function | translate |
Given a URL (absolute or relative), try to get its translated version in the `lang_code` language (either by i18n_patterns or by translated regex). Return the original URL if no translated version is found. |
Variable | path |
Undocumented |
Variable | re |
Undocumented |
Variable | reverse |
Undocumented |
Return the currently active script prefix. Useful for client code that wishes to construct their own URLs manually (although accessing the request instance is normally going to be a lot cleaner).
Return the ResolverMatch if the given path resolves against the default URL resolver, False otherwise. This is a convenience method to make working with "is this a match?" cases easier, avoiding try...except blocks.
Set the URLconf for the current thread (overriding the default one in settings). If urlconf_name is None, revert back to the default.
Given a URL (absolute or relative), try to get its translated version in the `lang_code` language (either by i18n_patterns or by translated regex). Return the original URL if no translated version is found.
def get_ns_resolver(ns_pattern, resolver, converters): (source) ¶
Undocumented