import shutil
from django.db.models.signals import pre_delete
from django.dispatch import receiver

@receiver(pre_delete)
def delete_repo(sender, instance, **kwargs):
    if sender == Set:
        shutil.rmtree(instance.repo)
How do I override delete() on a model and have it still work with related deletes