class RelatedFieldListFilter(FieldListFilter):
Known subclasses: django.contrib.admin.RelatedOnlyFieldListFilter
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 | field_admin_ordering |
Return the model admin's ordering for related field, if provided. |
Method | field_choices |
Undocumented |
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
:
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 FieldListFilter
):
Class Variable | template |
Undocumented |
Instance Variable | used_parameters |
Undocumented |
django.contrib.admin.ListFilter.choices
Return choices ready to be output in the template.
changelist
is the ChangeList to be displayed.
django.contrib.admin.RelatedOnlyFieldListFilter
Undocumented