Q. What is the use of `blank=True` in Django model fields?

  • (A) Field must be left blank
  • (B) Field value will be hidden
  • (C) Allows field to be blank in forms
  • (D) Field will be ignored
πŸ’¬ Discuss
βœ… Correct Answer: (C) Allows field to be blank in forms
Explanation: `blank=True` allows a field to be optional in forms.
Explanation by: Mr. Dubey
`blank=True` allows a field to be optional in forms.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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