Commit 97b9c758 authored by Luke Plant's avatar Luke Plant
Browse files

Fixed #13099 - incorrect SQL for `exclude()` example

Thanks to istruble for the report.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 520ce1ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ In SQL terms, that evaluates to::

    SELECT ...
    WHERE NOT pub_date > '2005-1-3'
    OR NOT headline = 'Hello'
    AND NOT headline = 'Hello'

Note the second example is more restrictive.