Commit f179d35f authored by Dotan Agmon's avatar Dotan Agmon Committed by Tim Graham
Browse files

[1.8.x] Fixed incorrect examples in ArrayField docs.

Backport of a44dc200 from master
parent 905e94a0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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::