[3.1.x] Fixed typo in docs/ref/contrib/postgres/fields.txt.

Backport of 05bbff8263 from master
This commit is contained in:
Mariusz Felisiak 2021-03-04 10:43:00 +01:00
parent 05066ad961
commit 72e2cbe38f
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ Returns objects where the array of values is the given value. Note that the
order is not guaranteed to be reliable, so this transform is mainly useful for order is not guaranteed to be reliable, so this transform is mainly useful for
using in conjunction with lookups on using in conjunction with lookups on
:class:`~django.contrib.postgres.fields.ArrayField`. Uses the SQL function :class:`~django.contrib.postgres.fields.ArrayField`. Uses the SQL function
``avalues()``. For example:: ``avals()``. For example::
>>> Dog.objects.create(name='Rufus', data={'breed': 'labrador'}) >>> Dog.objects.create(name='Rufus', data={'breed': 'labrador'})
>>> Dog.objects.create(name='Meg', data={'breed': 'collie', 'owner': 'Bob'}) >>> Dog.objects.create(name='Meg', data={'breed': 'collie', 'owner': 'Bob'})