Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #8693: Fixed formatting of the "null" argument for model fields

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5f3a182357fd2e26db328498212a7f45529cec8f 1 parent ac418c9
@ubernostrum ubernostrum authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  docs/topics/db/models.txt
View
3  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.
+query.
Please sign in to comment.
Something went wrong with that request. Please try again.