Permalink
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
  • Loading branch information...
spookylukey committed Apr 6, 2010
1 parent 520ce1b commit 97b9c7582b510e9948d8a07a8f64bd4fdc5ea22d
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/ref/models/querysets.txt
@@ -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.

0 comments on commit 97b9c75

Please sign in to comment.