Django Signals Introduction

Django has a signal dispatcher which notifies when certain event occurs in the framework. In simple this like a publisher and subscribers here sender is publisher and receiver is subscribers. The connection between the senders and the receivers is done through “signal dispatchers”. Django allow to create customer signals and has some build-ins too. Let’s look into them. Where should be signal code live: Django suggest it should be in inside the appconfig ready() method....

2 min · arunkumar