From 33e91f3ed8ce6412d9d0964acb59166579b9b20c Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 24 Sep 2020 10:03:24 +0200 Subject: [PATCH] Refs #32038 -- Added note to ModelAdmin.list_filter docs that GenericForeignKeys are not supported. --- 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 3060c66607..ad9558024b 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.