Kaydet (Commit) bd3dc670 authored tarafından Jeff Willette's avatar Jeff Willette Kaydeden (comit) Tim Graham

Fixed #27099 -- Documented list filter's has_output() method.

üst 3f2c9452
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment