summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Willette <jrwillette88@gmail.com>2016-09-02 10:24:34 +0900
committerTim Graham <timograham@gmail.com>2016-09-02 09:42:52 -0400
commit2216cb5303649c2a114ea5af673bcc89d90f17b6 (patch)
tree8ce1f85b907af41840e4f8c7b71594d3492cc9ae
parent2a51cad8debe8349ed32073fdef513d4b05ce69c (diff)
[1.10.x] Fixed #27099 -- Documented list filter's has_output() method.
Backport of bd3dc670b53d1742d317d2a088a9d145ce0083d7 from master
-rw-r--r--docs/ref/contrib/admin/index.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index b60d0340a5..cda16921dd 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -966,6 +966,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):