Author: adrian
Date: 2007-09-13 09:41:38 -0500 (Thu, 13 Sep 2007)
New Revision: 6126
Modified:
django/trunk/docs/db-api.txt
Log:
Fixed #5409 -- Fixed logic error in docs/db-api.txt. Thanks, David Paccoud
Modified: django/trunk/docs/db-api.txt
===================================================================
--- django/trunk/docs/db-api.txt 2007-09-13 14:40:08 UTC (rev 6125)
+++ django/trunk/docs/db-api.txt 2007-09-13 14:41:38 UTC (rev 6126)
@@ -481,7 +481,7 @@
WHERE NOT (pub_date > '2005-1-3' AND headline = 'Hello')
This example excludes all entries whose ``pub_date`` is later than 2005-1-3
-AND whose headline is NOT "Hello"::
+OR whose headline is "Hello"::
Entry.objects.exclude(pub_date__gt=datetime.date(2005, 1,
3)).exclude(headline='Hello')
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---