From 986cd28f95c77bd14907726caa0f8b0734a4e581 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 24 Sep 2020 10:03:24 +0200 Subject: [PATCH] [3.1.x] Refs #32038 -- Added note to ModelAdmin.list_filter docs that GenericForeignKeys are not supported. Backport of 33e91f3ed8ce6412d9d0964acb59166579b9b20c from master --- docs/ref/contrib/admin/index.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 1fadbcf0d5..1d3b73fb29 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -992,6 +992,11 @@ subclass:: The ``FieldListFilter`` API is considered internal and might be changed. + .. note:: + + The :class:`~django.contrib.contenttypes.fields.GenericForeignKey` + field is not supported. + .. versionadded:: 3.1 The ``EmptyFieldListFilter`` class was added.