A

Admin • 833.24K Points
Coach

Q. What does the Meta class inside a Django model define?

  • (A) Extra fields
  • (B) Model methods
  • (C) Metadata like ordering and db_table
  • (D) Migration settings
  • Correct Answer - Option(C)
  • Views: 36
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

Meta is used to define model metadata like ordering, db_table, etc.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.