summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2010-04-06 14:35:36 +0000
committerLuke Plant <L.Plant.98@cantab.net>2010-04-06 14:35:36 +0000
commit97b9c7582b510e9948d8a07a8f64bd4fdc5ea22d (patch)
tree1e992a3a460c4f656fe7c73e2372a4bf53e75f62 /docs/ref
parent520ce1bab3db1cce8560f5c78873fc2117785742 (diff)
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
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/querysets.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 9b1ffc56f6..2855794c34 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.