πŸ“Š Django
Q. What is the purpose of Django's `Meta` class in models?
  • (A) To define view permissions
  • (B) To store metadata and options about the model
  • (C) To specify user fields
  • (D) To create forms
πŸ’¬ Discuss
βœ… Correct Answer: (B) To store metadata and options about the model

Explanation: The `Meta` class in a Django model is used to define metadata such as ordering, db_table name, etc.

Explanation by: Mr. Dubey
The `Meta` class in a Django model is used to define metadata such as ordering, db_table name, etc.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate