diff options
| author | Claude Paroz <claude@2xlibre.net> | 2022-07-23 16:12:01 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-07-23 16:12:52 +0200 |
| commit | 1fd79033f7835c9755f77cb934927c7fd0079da5 (patch) | |
| tree | e1b2e8fb2b170cc3c190997fd1f3e681d94dd36e /docs/ref | |
| parent | 8a2e65c2e6ed7fb2607ebb70142ebf4488f15d41 (diff) | |
[4.1.x] Refs #25756 -- Doc'd inability to use file fields with PostgreSQL ArrayField.
Backport of a46dfa87d0ba690125be98f7f1b77062a1794fdc from main
Diffstat (limited to 'docs/ref')
| -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 d4c8fda2e3..6757f81a18 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:: |
