summaryrefslogtreecommitdiff
path: root/docs/db-api.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-12-24 04:51:17 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-12-24 04:51:17 +0000
commit5c0fe75d448a15455ad8a1013a9099af5559380c (patch)
treeea6c8db85b4956a94eb29c0847566647e2aef41f /docs/db-api.txt
parent4bf7d2c81ca20a8a59ea5f064791d9ad866ace56 (diff)
magic-removal: Merged to [1774]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/db-api.txt')
-rw-r--r--docs/db-api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt
index 3cee4d6c6e..a83b7dad6a 100644
--- a/docs/db-api.txt
+++ b/docs/db-api.txt
@@ -243,7 +243,7 @@ The ``|`` symbol signifies an "OR", so this (roughly) translates into::
You can use ``&`` and ``|`` operators together, and use parenthetical grouping.
Example::
- polls.get_object(complex=(Q(question__startswith='Who') & (Q(pub_date__exact=date(2005, 5, 2)) | pub_date__exact=date(2005, 5, 6)))
+ polls.get_object(complex=(Q(question__startswith='Who') & (Q(pub_date__exact=date(2005, 5, 2)) | Q(pub_date__exact=date(2005, 5, 6))))
This roughly translates into::