Return the root URLconf to use for the current thread or asyncio task if it has been changed from the default one.
(default=None)
| 159 | |
| 160 | |
| 161 | def get_urlconf(default=None): |
| 162 | """ |
| 163 | Return the root URLconf to use for the current thread or asyncio task if it |
| 164 | has been changed from the default one. |
| 165 | """ |
| 166 | return getattr(_urlconfs, "value", default) |
| 167 | |
| 168 | |
| 169 | def is_valid_path(path, urlconf=None): |
no outgoing calls