Skip to content
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
  • Loading branch information...
1 parent 820bcd0 commit 5c5c25eba50c65f00fe6f9e3ad83ee5287960873 @kmtracey kmtracey committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/ref/models/querysets.txt
View
2 docs/ref/models/querysets.txt
@@ -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.

0 comments on commit 5c5c25e

Please sign in to comment.
Something went wrong with that request. Please try again.