def delete_remote_storage(sender, instance, **kwargs):
    from .tasks import delete_media
    for storage in instance.remotestorage_set.all():
        delete_media.delay(storage.id)
Delete media files from remote storage.
dataset/ETHPy150Open jbittel/django-multimedia/multimedia/signals.py/delete_remote_storage