diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index defd670e12..e94dd84bda 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.objects.filter(tags__0_2__contains='thoughts') + >>> Post.objects.filter(tags__0_2__contains=['thoughts']) , ]> .. note::