summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorDotan Agmon <agmond@users.noreply.github.com>2015-12-10 15:03:38 +0200
committerTim Graham <timograham@gmail.com>2015-12-10 17:51:00 -0500
commite7bdc72e1746f11497b20336cfc8798bfa9a46ba (patch)
tree117f3babfec6cbeb55a4b2f86dae30731c8fc172 /docs/ref
parent722fae4b5159b2810e252e3385936f86f04eb09b (diff)
[1.9.x] Fixed incorrect examples in ArrayField docs.
Backport of a44dc200d0cbd651f66a2082aa9909ff8f51a659 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/postgres/fields.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt
index 587c44a435..9989969651 100644
--- a/docs/ref/contrib/postgres/fields.txt
+++ b/docs/ref/contrib/postgres/fields.txt
@@ -222,9 +222,9 @@ lookups available after the transform do not change. For example::
>>> Post.objects.create(name='Third post', tags=['django', 'python', 'thoughts'])
>>> Post.objects.filter(tags__0_1=['thoughts'])
- [<Post: First post>]
+ [<Post: First post>, <Post: Second post>]
- >>> Post.objects.filter(tags__0_2__contains='thoughts')
+ >>> Post.objects.filter(tags__0_2__contains=['thoughts'])
[<Post: First post>, <Post: Second post>]
.. note::