A

Admin • 833.24K Points
Coach

Q. What does the `Meta` class inside a model do?

  • (A) Defines views
  • (B) Specifies metadata like ordering or verbose name
  • (C) Stores admin credentials
  • (D) Connects the model to a view
  • Correct Answer - Option(B)
  • Views: 27
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

The `Meta` class defines metadata options for a model such as ordering and verbose_name.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.