A

Admin • 828.03K Points
Coach

Q. Which option is used in Meta class to define the default ordering of model objects?

  • (A) default_order
  • (B) order_by
  • (C) ordering
  • (D) sort_order
  • Correct Answer - Option(C)
  • Views: 13
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
The ordering option in the Meta class defines the default order of model records.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.