If
True
, Django will store empty values asNULL
in the database. Default isFalse
.Avoid using
null
on string-based fields such asCharField
andTextField
. If a string-based field hasnull=True
, that means it has two possible values for “no data”:NULL
, and the empty string.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1b239340-78d6-4df2-a12d-9531dfe7912d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.