def count_pingbacks_handler(sender, **kwargs):
    entry = kwargs['entry']
    entry.pingback_count = F('pingback_count') + 1
    entry.save(update_fields=['pingback_count'])
Update Entry.pingback_count when a pingback was posted.
dataset/ETHPy150Open Fantomas42/django-blog-zinnia/zinnia/signals.py/count_pingbacks_handler