A

Admin • 828.03K Points
Coach

Q. What does `blank=True` mean in a Django model field?

  • (A) Field must be unique
  • (B) Field is optional in forms
  • (C) Field must not be empty
  • (D) Field cannot be null
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
`blank=True` allows the field to be left empty in Django forms.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.