A

Admin • 833.24K Points
Coach

Q. Which method is used to save changes to a model instance?

  • (A) commit()
  • (B) save()
  • (C) store()
  • (D) update()
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

The save method is used to write or update model instance data to the database.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.