Django: how can I tell if the post_save signal triggers on a new object?

前端 未结 0 694
清歌不尽
清歌不尽 2021-02-11 12:44

I need to do some background post-processing on newly created objects in Django. This post-processing should only run on new objects, not objects that are just updated.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题