set_urlconf
Set the URLconf for the current thread or asyncio task (overriding the default one in settings). If urlconf_name is None, revert back to the default.
def set_urlconf(
urlconf_name: string|null
) - > null
Set the URLconf for the current thread or asyncio task (overriding the default one in settings). If urlconf_name is None, revert back to the default.
Parameters
| Name | Type | Description |
|---|---|---|
| urlconf_name | `string | null` |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the function modifies the thread-local or task-local state. |