class documentation
class SimpleListFilter(ListFilter): (source)
Undocumented
Method | __init__ |
Undocumented |
Method | choices |
Return choices ready to be output in the template. |
Method | expected |
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 |
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 |
Undocumented |
Instance Variable | lookup |
Undocumented |
Inherited from ListFilter
:
Method | queryset |
Return the filtered queryset. |
Class Variable | template |
Undocumented |
Class Variable | title |
Undocumented |
Instance Variable | used |
Undocumented |
overrides
django.contrib.admin.ListFilter.choices
Return choices ready to be output in the template. `changelist` is the ChangeList to be displayed.
Return the list of parameter names that are expected from the request's query string and that will be used by this filter.