From bd3dc670b53d1742d317d2a088a9d145ce0083d7 Mon Sep 17 00:00:00 2001 From: Jeff Willette Date: Fri, 2 Sep 2016 10:24:34 +0900 Subject: [PATCH] Fixed #27099 -- Documented list filter's has_output() method. --- docs/ref/contrib/admin/index.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index f01a845493..b2b62b6977 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -969,6 +969,9 @@ subclass:: The ``FieldListFilter`` API is considered internal and might be changed. + List filter's typically appear only if the filter has more than one choice. + A filter's ``has_output()`` method controls whether or not it appears. + It is possible to specify a custom template for rendering a list filter:: class FilterWithCustomTemplate(admin.SimpleListFilter):