Inside your application directory, create a file your_app/signals.py
.
The default project and app creator should have created a file your_app/apps.py
.
Inside the class used for your app, add the ready
method:
class YourAppConfig(AppConfig):
name = 'your_app'
def ready(self):