瀏覽代碼

Refs #25756 -- Doc'd inability to use file fields with PostgreSQL ArrayField.

Claude Paroz 2 年之前
父節點
當前提交
a46dfa87d0
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/ref/contrib/postgres/fields.txt

+ 3 - 1
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::