Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #5409 -- Fixed logic error in docs/db-api.txt. Thanks, David Pa…

…ccoud

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 28d27a77e8f5d80844c7b7ca54b1e1731ec8b3e0 1 parent a31bbda
Adrian Holovaty authored September 13, 2007

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

  1. 2  docs/db-api.txt
2  docs/db-api.txt
@@ -481,7 +481,7 @@ In SQL terms, that evaluates to::
481 481
     WHERE NOT (pub_date > '2005-1-3' AND headline = 'Hello')
482 482
 
483 483
 This example excludes all entries whose ``pub_date`` is later than 2005-1-3
484  
-AND whose headline is NOT "Hello"::
  484
+OR whose headline is "Hello"::
485 485
 
486 486
     Entry.objects.exclude(pub_date__gt=datetime.date(2005, 1, 3)).exclude(headline='Hello')
487 487
 

0 notes on commit 28d27a7

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