

@classmethod
def handle_save(cls, sender, instance, created, **kwargs):
    "Handles updating this model's indexes."
    for (column, index_to) in Index.indexes[sender]:
        cls.objects.save_in_index(instance, column, index_to)

dataset/ETHPy150Open dcramer/django-indexer/indexer/models.py Index.handle_save/original