summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2010-05-03 17:45:14 +0000
committerKaren Tracey <kmtracey@gmail.com>2010-05-03 17:45:14 +0000
commit5c5c25eba50c65f00fe6f9e3ad83ee5287960873 (patch)
treef03fe654bc7205ed64b63b63f571009e499401a4 /docs
parent820bcd0aa3d65c389a778d62c725b34d11fcb796 (diff)
[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
Diffstat (limited to 'docs')
-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 58d1bf1aed..e271543aa7 100644
--- a/docs/ref/models/querysets.txt
+++ b/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.