Skip to main content

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

NameTypeDescription
settingstringThe name of the Django setting that was changed.
**kwargsdictAdditional keyword arguments passed by the setting_changed signal, such as the new value of the setting.

Returns

TypeDescription
nullNothing is returned by this signal receiver.