У меня есть пользовательский подключенный сигнал, который не запускается:
код в модели конкурса в методе add_participant:
# this is called and no error happens
contest_after_added_participant.send(sender=self,
participant=participant,
participation=participation)
код в файле, в котором существует модель конкурса:
def my_callback(sender, **kwargs):
sender.title += 'sss' # this is never called
contest_after_added_participant = Signal(providing_args=["participant", "participation"])
contest_after_added_participant.connect(my_callback, sender=Contest, dispatch_uid='Contest.001')