diff options
| author | James Bennett <ubernostrum@gmail.com> | 2008-08-30 05:38:07 +0000 |
|---|---|---|
| committer | James Bennett <ubernostrum@gmail.com> | 2008-08-30 05:38:07 +0000 |
| commit | 5f3a182357fd2e26db328498212a7f45529cec8f (patch) | |
| tree | 072ac3ff65f56f5857beb0be197d0e08459a7ba9 /docs | |
| parent | ac418c979f67101977be30c88fd540461e344cff (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/models.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index af20f55d8c..e22660a08b 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. |
