class documentation

class EmptyFieldListFilter(FieldListFilter):

View In Hierarchy

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 queryset Return the filtered queryset.
Instance Variable lookup​_kwarg Undocumented
Instance Variable lookup​_val Undocumented

Inherited from FieldListFilter:

Class Method create Undocumented
Class Method register Undocumented
Method has​_output Return True if some choices would be output for this filter.
Class Variable ​_field​_list​_filters Undocumented
Class Variable ​_take​_priority​_index Undocumented
Instance Variable field Undocumented
Instance Variable field​_path Undocumented
Instance Variable title Undocumented

Inherited from ListFilter (via FieldListFilter):

Class Variable template Undocumented
Instance Variable used​_parameters Undocumented
def __init__(self, field, request, params, model, model_admin, field_path):
def choices(self, changelist):

Return choices ready to be output in the template.

changelist is the ChangeList to be displayed.

def expected_parameters(self):
Return the list of parameter names that are expected from the request's query string and that will be used by this filter.
def queryset(self, request, queryset):
Return the filtered queryset.
lookup_kwarg =

Undocumented

lookup_val =

Undocumented