From a46dfa87d0ba690125be98f7f1b77062a1794fdc Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 23 Jul 2022 16:12:01 +0200 Subject: [PATCH] Refs #25756 -- Doc'd inability to use file fields with PostgreSQL ArrayField. --- docs/ref/contrib/postgres/fields.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index 2185804f8d..25ca442b6f 100644 --- a/docs/ref/contrib/postgres/fields.txt +++ b/docs/ref/contrib/postgres/fields.txt @@ -47,7 +47,9 @@ may be a good choice for the :ref:`range fields ` and with the exception of those handling relational data (:class:`~django.db.models.ForeignKey`, :class:`~django.db.models.OneToOneField` and - :class:`~django.db.models.ManyToManyField`). + :class:`~django.db.models.ManyToManyField`) and file fields ( + :class:`~django.db.models.FileField` and + :class:`~django.db.models.ImageField`). It is possible to nest array fields - you can specify an instance of ``ArrayField`` as the ``base_field``. For example::