A

Admin • 828.03K Points
Coach

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
  • Correct Answer - Option(C)
  • Views: 12
  • Filed under category Django
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.