class SimpleListFilter(ListFilter):
Undocumented
Method | __init__ |
Undocumented |
Method | choices |
Return choices ready to be output in the template. |
Method | expected_parameters |
Return the list of parameter names that are expected from the request's query string and that will be used by this filter. |
Method | has_output |
Return True if some choices would be output for this filter. |
Method | lookups |
Must be overridden to return a list of tuples (value, verbose value) |
Method | value |
Return the value (in string format) provided in the request's query string for this filter, if any, or None if the value wasn't provided. |
Class Variable | parameter_name |
Undocumented |
Instance Variable | lookup_choices |
Undocumented |
Inherited from ListFilter
:
Method | queryset |
Return the filtered queryset. |
Class Variable | template |
Undocumented |
Class Variable | title |
Undocumented |
Instance Variable | used_parameters |
Undocumented |
django.contrib.admin.ListFilter.__init__
Undocumented
django.contrib.admin.ListFilter.choices
Return choices ready to be output in the template.
changelist
is the ChangeList to be displayed.