A

Admin • 802.91K Points
Coach

Q. Which method is used to delete a record in Django models?

  • (A) destroy()
  • (B) remove()
  • (C) delete()
  • (D) erase()
  • Correct Answer - Option(C)
  • Views: 4
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
`delete()` deletes the object from the database.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.