[1.0.X] Apply doc fix from [9105]; refs #9255.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f585dea14e
commit
9971852234
|
@ -1182,14 +1182,6 @@ SQL equivalent::
|
|||
|
||||
SELECT ... WHERE pub_date IS NULL;
|
||||
|
||||
.. admonition:: ``__isnull=True`` vs ``__exact=None``
|
||||
|
||||
There is an important difference between ``__isnull=True`` and
|
||||
``__exact=None``. ``__exact=None`` will *always* return an empty result
|
||||
set, because SQL requires that no value is equal to ``NULL``.
|
||||
``__isnull`` determines if the field is currently holding the value
|
||||
of ``NULL`` without performing a comparison.
|
||||
|
||||
search
|
||||
~~~~~~
|
||||
|
||||
|
|
Loading…
Reference in New Issue