diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index af20f55d8c1..e22660a08bf 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -143,6 +143,7 @@ optional. They're fully explained in the :ref:`reference ones: :attr:`~Field.null` + If ``True``, Django will store empty values as ``NULL`` in the database. Default is ``False``. @@ -744,4 +745,4 @@ bindings. This is for the sake of consistency and sanity.) A final note: If all you want to do is a custom ``WHERE`` clause, you can use the :meth:`~QuerySet.extra` lookup method, which lets you add custom SQL to a -query. \ No newline at end of file +query.