def user_followers_delete_handler(sender, instance, **kwargs):
    # Import act_models here. If imported at the top, this interferes with
    # appconf imports and breaks compressor configuration.
    # See https://github.com/jezdez/django_compressor/issues/333
    from actstream import models as act_models

    followers = act_models.followers(instance)
    for follower in followers:
        unfollow(follower, instance)
Make all users unfollow the user being deleted.
dataset/ETHPy150Open python/raspberryio/raspberryio/signals.py/user_followers_delete_handler