Skip to main content

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

NameTypeDescription
settingstringThe name of the Django setting that was changed, used to trigger the cache clear only for FORM_RENDERER.
**kwargsdictAdditional keyword arguments passed by the setting_changed signal dispatcher.

Returns

TypeDescription
nullNothing is returned; this function performs a cache invalidation side effect.