mirror of
https://github.com/django/django.git
synced 2025-06-08 04:59:13 +00:00
[2.2.x] Refs #28161 -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText).
Backport of a8b03bea180e0660c0e159f3e7cf6192b512925f from master
This commit is contained in:
parent
6187519236
commit
953067d8dc
@ -265,6 +265,11 @@ transform do not change. For example::
|
|||||||
:ref:`setup the citext extension <create-postgresql-extensions>` in
|
:ref:`setup the citext extension <create-postgresql-extensions>` in
|
||||||
PostgreSQL before the first ``CreateModel`` migration operation.
|
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:
|
Several fields that use the mixin are provided:
|
||||||
|
|
||||||
.. class:: CICharField(**options)
|
.. class:: CICharField(**options)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user