reset_hashers
Clears the internal caches for password hashers and algorithm-based hasher lookups when the PASSWORD_HASHERS setting is modified.
def reset_hashers(
setting: string,
**kwargs: dict
) - > null
Clears the internal caches for password hashers when the PASSWORD_HASHERS setting is modified. This ensures that changes to the hashing configuration are reflected immediately in the application state.
Parameters
| Name | Type | Description |
|---|---|---|
| setting | string | The name of the Django setting that was changed, 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 internal caches. |