def delete(self, image_file, delete_thumbnails=True):
        if delete_thumbnails:
            self.delete_thumbnails(image_file)
        self._delete(image_file.key)
Deletes the reference to the ``image_file`` and deletes the references
dataset/ETHPy150Open mariocesar/sorl-thumbnail/sorl/thumbnail/kvstores/base.py/KVStoreBase.delete