diff options
| author | Claude Paroz <claude@2xlibre.net> | 2022-07-23 16:12:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-23 16:12:01 +0200 |
| commit | a46dfa87d0ba690125be98f7f1b77062a1794fdc (patch) | |
| tree | c0cd62933201c1927c0d8dc917fed73451c16e7e /docs | |
| parent | 0afb65e6352abf965f11741c20f5510caa43eb71 (diff) | |
Refs #25756 -- Doc'd inability to use file fields with PostgreSQL ArrayField.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/postgres/fields.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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 <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:: |
