root_urlconf_changed
Clears URL caches and resets the global URLconf when the ROOT_URLCONF setting is modified.
def root_urlconf_changed(
setting: string,
**kwargs: dict
) - > null
Resets the URL configuration and clears internal URL caches when the ROOT_URLCONF setting is modified. This ensures that changes to the root URL routing are immediately reflected in the application state.
Parameters
| Name | Type | Description |
|---|---|---|
| setting | string | The name of the Django setting that was changed. |
| **kwargs | dict | Additional keyword arguments passed by the setting_changed signal, such as the new value of the setting. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned by this signal receiver. |