diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-12-22 15:10:01 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-12-22 15:10:01 +0000 |
| commit | d9269055c941bd864049207441d7955ec65760fe (patch) | |
| tree | d8e6bfb0eaf83fa0eb27f82b299dbf9181fc6536 /docs/db-api.txt | |
| parent | 02e301053d60096555ba6de8abfb668673850f18 (diff) | |
Fixed typo in OR syntax example in docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/db-api.txt')
| -rw-r--r-- | docs/db-api.txt | 2 |
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:: |
