class documentation

class RelatedOnlyFieldListFilter(RelatedFieldListFilter):

View In Hierarchy

Undocumented

Method field​_choices Undocumented

Inherited from RelatedFieldListFilter:

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 field​_admin​_ordering Return the model admin's ordering for related field, if provided.
Method has​_output Return True if some choices would be output for this filter.
Instance Variable empty​_value​_display Undocumented
Instance Variable lookup​_choices Undocumented
Instance Variable lookup​_kwarg Undocumented
Instance Variable lookup​_kwarg​_isnull Undocumented
Instance Variable lookup​_title Undocumented
Instance Variable lookup​_val Undocumented
Instance Variable lookup​_val​_isnull Undocumented
Instance Variable title Undocumented
Property include​_empty​_choice Return True if a "(None)" choice should be included, which filters out everything except empty relationships.

Inherited from FieldListFilter (via RelatedFieldListFilter):

Class Method create Undocumented
Class Method register Undocumented
Method queryset Return the filtered queryset.
Class Variable ​_field​_list​_filters Undocumented
Class Variable ​_take​_priority​_index Undocumented
Instance Variable field Undocumented
Instance Variable field​_path Undocumented

Inherited from ListFilter (via RelatedFieldListFilter, FieldListFilter):

Class Variable template Undocumented
Instance Variable used​_parameters Undocumented
def field_choices(self, field, request, model_admin):