About Triggering Signals Manually

To trigger signals manually, for example, to update the ElasticSearch index for a model, you can do this:

from django.db import models
models.signals.post_save.send(
    sender=MyModel, instance=my_instance, created=False
)

Tips and Tricks Programming Django 4.2 Django 3.2 Django 1.11