reset_cache
Reset global state when LANGUAGES setting has been changed, as some languages should no longer be accepted.
def reset_cache(
setting: string,
**kwargs: dict
) - > null
Reset global state when LANGUAGES setting has been changed, as some languages should no longer be accepted.
Parameters
| Name | Type | Description |
|---|---|---|
| setting | string | The name of the Django setting that was modified, used to determine if a cache reset is necessary. |
| **kwargs | dict | Additional keyword arguments passed by the setting_changed signal dispatcher. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; this function performs side effects on global caches. |