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

  • (A) pre_save
  • (B) before_save
  • (C) save_init
  • (D) before_commit
πŸ’¬ Discuss
βœ… Correct Answer: (A) pre_save
Explanation: `pre_save` is triggered before saving a model instance.
Explanation by: Mr. Dubey
`pre_save` is triggered before saving a model instance.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
84
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate