diff options
| author | Jeff Willette <jrwillette88@gmail.com> | 2016-09-02 10:24:34 +0900 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-09-02 09:41:13 -0400 |
| commit | bd3dc670b53d1742d317d2a088a9d145ce0083d7 (patch) | |
| tree | bc345ea6bbb95f81c3d6383c08ef749f2c9e151c /docs | |
| parent | 3f2c945257e3d9015252c801d124bd70768f2d0c (diff) | |
Fixed #27099 -- Documented list filter's has_output() method.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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): |
