A

Admin • 802.91K Points
Coach

Q. Which method retrieves all objects from a Django model?

  • (A) get_all()
  • (B) fetch_all()
  • (C) all()
  • (D) objects()
  • Correct Answer - Option(C)
  • Views: 7
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
The all() method returns all records for a model.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.