Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
Karen Tracey authored May 03, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/ref/models/querysets.txt
2  docs/ref/models/querysets.txt
@@ -170,7 +170,7 @@ In SQL terms, that evaluates to::
170 170
 
171 171
     SELECT ...
172 172
     WHERE NOT pub_date > '2005-1-3'
173  
-    OR NOT headline = 'Hello'
  173
+    AND NOT headline = 'Hello'
174 174
 
175 175
 Note the second example is more restrictive.
176 176
 

0 notes on commit 5c5c25e

Please sign in to comment.
Something went wrong with that request. Please try again.