class documentation
class ListFilter: (source)
Known subclasses: django.contrib.admin.FieldListFilter
, django.contrib.admin.SimpleListFilter
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 | queryset |
Return the filtered queryset. |
Class Variable | template |
Undocumented |
Class Variable | title |
Undocumented |
Instance Variable | used |
Undocumented |
overridden in
django.contrib.admin.AllValuesFieldListFilter
, django.contrib.admin.BooleanFieldListFilter
, django.contrib.admin.ChoicesFieldListFilter
, django.contrib.admin.DateFieldListFilter
, django.contrib.admin.EmptyFieldListFilter
, django.contrib.admin.RelatedFieldListFilter
, django.contrib.admin.SimpleListFilter
Return choices ready to be output in the template. `changelist` is the ChangeList to be displayed.
overridden in
django.contrib.admin.AllValuesFieldListFilter
, django.contrib.admin.BooleanFieldListFilter
, django.contrib.admin.ChoicesFieldListFilter
, django.contrib.admin.DateFieldListFilter
, django.contrib.admin.EmptyFieldListFilter
, django.contrib.admin.RelatedFieldListFilter
, django.contrib.admin.SimpleListFilter
Return the list of parameter names that are expected from the request's query string and that will be used by this filter.