Kaydet (Commit) 28d27a77 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst a31bbda9
......@@ -481,7 +481,7 @@ In SQL terms, that evaluates to::
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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment