S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What is the purpose of the Meta class in a Django model?

  • (A) Defines form behavior
  • (B) Handles template logic
  • (C) Defines model metadata
  • (D) Handles URL routing
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
Meta is used to configure model options like ordering and db_table.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.