In Django, can signals be used as callback functions? In other words, can the “sender” of a signal use it to gather data from another app, via the return value of send()?
In Django, can signals be used as callback functions? In other words, can the
Share
Yes.
Do note that this is rather a rather unorthodox mechanism for this though; if you need the return value from a function, just call it directly.