@disable_for_loaddata
def ping_directories_handler(sender, **kwargs):
    entry = kwargs['instance']

    if entry.is_visible and settings.SAVE_PING_DIRECTORIES:
        for directory in settings.PING_DIRECTORIES:
            DirectoryPinger(directory, [entry])
Ping directories when an entry is saved.
dataset/ETHPy150Open Fantomas42/django-blog-zinnia/zinnia/signals.py/ping_directories_handler