Refs #28161 -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText).

This commit is contained in:
Robert Coup 2019-01-24 18:02:37 +00:00 committed by Tim Graham
parent 290d8471bb
commit a8b03bea18
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)