A

Admin • 802.91K Points
Coach

Q. Which method is called when a Django model instance is saved?

  • (A) update()
  • (B) insert()
  • (C) save()
  • (D) write()
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
`save()` is used to persist a model instance to the database.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.