what's the order of post_save receiver in django?

前端 未结 1 370
有刺的猬
有刺的猬 2020-12-21 17:41

You can bind multiple post_save(pre_save, etc) receivers to a class.

Is there a way to specify the ordering of receipt of signals?

相关标签:
1条回答
  • 2020-12-21 17:51

    Ordering signal in django would be a good feature but unfortunately Django does not support this as mentioned in this ticket although you can have a close look at Django Signals and the Observer Design Pattern to have better understanding of its pattern & design.

    0 讨论(0)
提交回复
热议问题