[2.2.x] Refs #28161 -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText).

Backport of a8b03bea18 from master
This commit is contained in:
Robert Coup 2019-01-24 18:02:37 +00:00 committed by Tim Graham
parent 6187519236
commit 953067d8dc
1 changed files with 5 additions and 0 deletions

View File

@ -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)