Hi,
I have a django project where I have defined some signals and listeners in a separate module (i.e., in a folder with __init__.py) in the files signals.py and listeners.py. These signals are to be used by multiple applications in the project. So I wrote the code connecting the signal to the listener in the models.py of one app. I placed a breakpoint there and it did get connected.
The code triggering the signal is inside a view. But inside the view, when I debugged using breakpoints, the listener is no more connected to the signal and hence the event goes unhandled.
When the signals.py and listeners.py are in the same app in which the view function triggers the signal, things are working fine. What could be the issue here and how to work around it?
Thanks & Regards,
Guruprasad