Commit 5c5c25eb authored by Karen Tracey's avatar Karen Tracey
Browse files

[1.1.X] Fixed #13099 - incorrect SQL for exclude() example

Thanks to istruble for the report. 

r12936 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 820bcd0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -170,7 +170,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.