You can create a signals.py file. But I can not add import signals to the __init__.py file. Because signal-related models will not be loaded yet. So, in the apps.py file you can find a class that inherits from the AppConfig class and this class has a ready(self) method. You must import your signals in this function:
from django.apps import AppConfig class MainConfig(AppConfig): name = 'main' def ready(self): import main.signals
source share