A

Admin • 833.24K Points
Coach

Q. Which Django signal is triggered before a model is saved?

  • (A) post_save
  • (B) pre_commit
  • (C) pre_save
  • (D) model_save
  • Correct Answer - Option(C)
  • Views: 24
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

`pre_save` signal is triggered just before saving a model instance.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.