A

Admin • 833.24K Points
Coach

Q. Which model method deletes an object from the database?

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

Explanation by: Admin

delete() removes the object from the database.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.