Q. What is the use of `verbose_name` in Django models?

  • (A) Sets the field name in the database
  • (B) Sets a human-readable name for the field
  • (C) Makes field mandatory
  • (D) Enables debugging for field
πŸ’¬ Discuss
βœ… Correct Answer: (B) Sets a human-readable name for the field
Explanation: `verbose_name` is used for a human-readable name of the field in forms and admin.
Explanation by: Mr. Dubey
`verbose_name` is used for a human-readable name of the field in forms and admin.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
92
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate