Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 5c5c25eba50c65f00fe6f9e3ad83ee5287960873 1 parent 820bcd0
@kmtracey kmtracey authored
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.
Please sign in to comment.
Something went wrong with that request. Please try again.