summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarc Tamlyn <marc.tamlyn@gmail.com>2014-05-26 14:44:50 +0100
committerMarc Tamlyn <marc.tamlyn@gmail.com>2014-05-26 14:44:50 +0100
commitb625e861e5d2709a16588ecb82f46e1fb86004c7 (patch)
treed557478ecf2b3b8d392f26689fa61a3051dc9b25 /docs
parente98d303562a50c57b55bbe2d4ebdec76f6624770 (diff)
Fix an error in a documented lookup example.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/postgres/fields.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt
index 85ba6096b5..563a8bd97e 100644
--- a/docs/ref/contrib/postgres/fields.txt
+++ b/docs/ref/contrib/postgres/fields.txt
@@ -134,7 +134,7 @@ passed. It uses the SQL operator ``<@``. For example::
>>> Post.objects.create(name='Third post', tags=['tutorial', 'django'])
>>> Post.objects.filter(tags__contained_by=['thoughts', 'django'])
- [<Post: First post>]
+ [<Post: First post>, <Post: Second post>]
>>> Post.objects.filter(tags__contained_by=['thoughts', 'django', 'tutorial'])
[<Post: First post>, <Post: Second post>, <Post: Third post>]