diff options
| author | Robert Coup <robert@coup.net.nz> | 2019-01-24 18:02:37 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-01-31 13:42:29 -0500 |
| commit | 953067d8dcb62baba22c0a5f607b5e1d08099f51 (patch) | |
| tree | 34e68fe095215f21727d554f16d7b3e7d1e01e8b /docs | |
| parent | 61875192367077a6c0edf6456039f40cd47d5a43 (diff) | |
[2.2.x] Refs #28161 -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText).
Backport of a8b03bea180e0660c0e159f3e7cf6192b512925f from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/postgres/fields.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index 01d47af55b..a5c87bf8da 100644 --- a/docs/ref/contrib/postgres/fields.txt +++ b/docs/ref/contrib/postgres/fields.txt @@ -265,6 +265,11 @@ transform do not change. For example:: :ref:`setup the citext extension <create-postgresql-extensions>` in PostgreSQL before the first ``CreateModel`` migration operation. + If you're using an :class:`~django.contrib.postgres.fields.ArrayField` + of ``CIText`` fields, you must add ``'django.contrib.postgres'`` in your + :setting:`INSTALLED_APPS`, otherwise field values will appear as strings + like ``'{thoughts,django}'``. + Several fields that use the mixin are provided: .. class:: CICharField(**options) |
