From 259fec8de0814ba1277774b030bc6e3f99e40268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4ufl?= Date: Fri, 29 Sep 2017 09:38:57 +0200 Subject: [PATCH] Fixed #28651 -- Fixed typo in docs/ref/contrib/postgres/fields.txt. --- docs/ref/contrib/postgres/fields.txt | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index 38ca9200cd..f151986ff8 100644 --- a/docs/ref/contrib/postgres/fields.txt +++ b/docs/ref/contrib/postgres/fields.txt @@ -185,11 +185,10 @@ available for :class:`~django.db.models.IntegerField`. For example:: Index transforms ~~~~~~~~~~~~~~~~ -This class of transforms allows you to index into the array in queries. Any -non-negative integer can be used. There are no errors if it exceeds the -:attr:`size ` of the array. The lookups available after the -transform are those from the :attr:`base_field `. For -example:: +Index transforms index into the array. Any non-negative integer can be used. +There are no errors if it exceeds the :attr:`size ` of the +array. The lookups available after the transform are those from the +:attr:`base_field `. For example:: >>> Post.objects.create(name='First post', tags=['thoughts', 'django']) >>> Post.objects.create(name='Second post', tags=['thoughts']) @@ -214,9 +213,9 @@ example:: Slice transforms ~~~~~~~~~~~~~~~~ -This class of transforms allow you to take a slice of the array. Any two -non-negative integers can be used, separated by a single underscore. The -lookups available after the transform do not change. For example:: +Slice transforms take a slice of the array. Any two non-negative integers can +be used, separated by a single underscore. The lookups available after the +transform do not change. For example:: >>> Post.objects.create(name='First post', tags=['thoughts', 'django']) >>> Post.objects.create(name='Second post', tags=['thoughts'])