我想知道响应 Django 信号的侦听器方法是顺序执行还是同时执行。本质上是这样的:
for object_instance in object_instance_list:
custom_signal.connect(object_instance.method)
custom_signal.send(self)
与此不同:
for object_instance in object_instance_list:
object_instance.method()
编辑:对代码进行语法更正