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
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You