def clear_usersettings_cache(sender, **kwargs):
    instance = kwargs['instance']
    try:
        del USERSETTINGS_CACHE[instance.site.pk]
    except KeyError:
        pass
Clears the cache (if primed) each time a ``UserSettings`` is saved or deleted
dataset/ETHPy150Open mishbahr/django-usersettings2/usersettings/models.py/clear_usersettings_cache