update_installed_apps
Clears the internal caches for static file finders, management commands, template directories, and translations when the INSTALLED_APPS setting is modified.
def update_installed_apps(
setting: string,
kwargs: dict
) - > null
Clears internal caches for static files, management commands, template directories, and translations when the INSTALLED_APPS setting is modified.
Parameters
| Name | Type | Description |
|---|---|---|
| setting | string | The name of the Django setting that was changed, used to trigger cache clearing only when INSTALLED_APPS is updated. |
| kwargs | dict | Additional keyword arguments passed by the setting_changed signal dispatcher. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; this function performs side effects to reset global caches. |