def clear(self, delete_thumbnails=False):
        prefix = settings.THUMBNAIL_KEY_PREFIX
        for key in self._find_keys_raw(prefix):
            self.cache.delete(key)
        KVStoreModel.objects.filter(key__startswith=prefix).delete()
        if delete_thumbnails:
            self.delete_all_thumbnail_files()
Only work on systems that are a proxy minion
dataset/ETHPy150Open mariocesar/sorl-thumbnail/sorl/thumbnail/kvstores/cached_db_kvstore.py/KVStore.clear--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/rest_package.py/__virtual__