form_renderer_changed
Clears the cache of the default form renderer when the FORM_RENDERER setting is modified.
def form_renderer_changed(
setting: string,
**kwargs: dict
) - > null
Clears the cached default Django form renderer when the FORM_RENDERER setting is modified.
Parameters
| Name | Type | Description |
|---|---|---|
| setting | string | The name of the Django setting that was changed, used to trigger the cache clear only for FORM_RENDERER. |
| **kwargs | dict | Additional keyword arguments passed by the setting_changed signal dispatcher. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; this function performs a cache invalidation side effect. |