πŸ“Š Django
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

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