Questions tagged [django-signals]

Listeners can be registered for events within the Django framework using signals. This enables independent handling of various tasks, such as model deletions.

Understanding the impact of Django CASCADE on post_delete operations

The code snippet below outlines the structure of my model: class A(): foriegn_id1 = models.CharField # ref to a database not managed by django foriegn_id2 = models.CharField class B(): a = models.OneToOneField(A, on_delete=models.CASCADE) I have ...