A

Admin • 831.35K Points
Coach

Q. Which of the following is used to filter a queryset in Django?

  • (A) get()
  • (B) filter()
  • (C) select()
  • (D) where()
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
`filter()` returns a queryset matching given lookup parameters.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.