πŸ“Š Django
Q. What does `null=True` in a model field mean?
  • (A) Field must not be null
  • (B) Field value will be 'null' by default
  • (C) Database column can store NULL
  • (D) Sets field to empty string
πŸ’¬ Discuss
βœ… Correct Answer: (C) Database column can store NULL

Explanation: `null=True` allows NULL values at the database level for that field.

Explanation by: Mr. Dubey
`null=True` allows NULL values at the database level for that field.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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