πŸ“Š Django
Q. Which method is used to delete a record in Django models?
  • (A) destroy()
  • (B) remove()
  • (C) delete()
  • (D) erase()
πŸ’¬ Discuss
βœ… Correct Answer: (C) delete()

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
53
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate