From 97b9c7582b510e9948d8a07a8f64bd4fdc5ea22d Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Tue, 6 Apr 2010 14:35:36 +0000 Subject: [PATCH] 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 --- docs/ref/models/querysets.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 9b1ffc56f67..2855794c341 100644 --- a/docs/ref/models/querysets.txt +++ b/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.