A

Admin • 802.91K Points
Coach

Q. Which of the following is used to create a custom model manager?

  • (A) Model.Manager
  • (B) MyModel.manager
  • (C) models.Manager
  • (D) Model.objects.create()
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
models.Manager is used to define a custom manager for a model.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.