How to save a model without sending a signal?

前端 未结 6 2117
名媛妹妹
名媛妹妹 2021-02-06 23:23

How can I save a model, such that signals arent sent. (post_save and pre_save)

6条回答
  •  渐次进展
    2021-02-07 00:05

    There is currently a ticket pending a Django design decision for this feature.

    Included in the ticket is a diff for a patch with the proposed implementation.

提交回复
热议问题