class documentation

class ChangeList: (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __repr__ Undocumented
Method apply_select_related Undocumented
Method get_filters Undocumented
Method get_filters_params Return all params except IGNORED_PARAMS.
Method get_ordering Return the list of ordering fields for the change list. First check the get_ordering() method in model admin, then check the object's default ordering. Then, any manually-specified ordering from the query string overrides anything...
Method get_ordering_field Return the proper model field name corresponding to the given field_name to use for ordering. field_name may either be the name of a proper model field or the name of a method (on the admin or model) or a callable with the 'admin_order_field' attribute...
Method get_ordering_field_columns Return a dictionary of ordering field column numbers and asc/desc.
Method get_query_string Undocumented
Method get_queryset Undocumented
Method get_results Undocumented
Method has_related_field_in_list_display Undocumented
Method url_for_result Undocumented
Instance Variable can_show_all Undocumented
Instance Variable clear_all_filters_qs Undocumented
Instance Variable date_hierarchy Undocumented
Instance Variable filter_specs Undocumented
Instance Variable full_result_count Undocumented
Instance Variable has_active_filters Undocumented
Instance Variable has_filters Undocumented
Instance Variable is_popup Undocumented
Instance Variable list_display Undocumented
Instance Variable list_display_links Undocumented
Instance Variable list_editable Undocumented
Instance Variable list_filter Undocumented
Instance Variable list_max_show_all Undocumented
Instance Variable list_per_page Undocumented
Instance Variable list_select_related Undocumented
Instance Variable lookup_opts Undocumented
Instance Variable model Undocumented
Instance Variable model_admin Undocumented
Instance Variable multi_page Undocumented
Instance Variable opts Undocumented
Instance Variable page_num Undocumented
Instance Variable paginator Undocumented
Instance Variable params Undocumented
Instance Variable pk_attname Undocumented
Instance Variable preserved_filters Undocumented
Instance Variable query Undocumented
Instance Variable queryset Undocumented
Instance Variable result_count Undocumented
Instance Variable result_list Undocumented
Instance Variable root_queryset Undocumented
Instance Variable search_fields Undocumented
Instance Variable search_help_text Undocumented
Instance Variable show_admin_actions Undocumented
Instance Variable show_all Undocumented
Instance Variable show_full_result_count Undocumented
Instance Variable sortable_by Undocumented
Instance Variable title Undocumented
Instance Variable to_field Undocumented
Method _get_default_ordering Undocumented
Method _get_deterministic_ordering Ensure a deterministic order across all database backends. Search for a single field or unique together set of fields providing a total ordering. If these are missing, augment the ordering with a descendant primary key.
def __init__(self, request, model, list_display, list_display_links, list_filter, date_hierarchy, search_fields, list_select_related, list_per_page, list_max_show_all, list_editable, model_admin, sortable_by, search_help_text): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def apply_select_related(self, qs): (source)

Undocumented

def get_filters(self, request): (source)

Undocumented

def get_filters_params(self, params=None): (source)

Return all params except IGNORED_PARAMS.

def get_ordering(self, request, queryset): (source)

Return the list of ordering fields for the change list. First check the get_ordering() method in model admin, then check the object's default ordering. Then, any manually-specified ordering from the query string overrides anything. Finally, a deterministic order is guaranteed by calling _get_deterministic_ordering() with the constructed ordering.

def get_ordering_field(self, field_name): (source)

Return the proper model field name corresponding to the given field_name to use for ordering. field_name may either be the name of a proper model field or the name of a method (on the admin or model) or a callable with the 'admin_order_field' attribute. Return None if no proper model field name can be matched.

def get_ordering_field_columns(self): (source)

Return a dictionary of ordering field column numbers and asc/desc.

def get_query_string(self, new_params=None, remove=None): (source)

Undocumented

def get_queryset(self, request): (source)

Undocumented

def get_results(self, request): (source)

Undocumented

def has_related_field_in_list_display(self): (source)

Undocumented

def url_for_result(self, result): (source)

Undocumented

can_show_all = (source)

Undocumented

clear_all_filters_qs = (source)

Undocumented

date_hierarchy = (source)

Undocumented

filter_specs = (source)

Undocumented

full_result_count = (source)

Undocumented

has_active_filters = (source)

Undocumented

has_filters = (source)

Undocumented

is_popup = (source)

Undocumented

list_display = (source)

Undocumented

list_display_links = (source)

Undocumented

list_editable: tuple = (source)

Undocumented

list_filter = (source)

Undocumented

list_max_show_all = (source)

Undocumented

list_per_page = (source)

Undocumented

list_select_related = (source)

Undocumented

lookup_opts = (source)

Undocumented

Undocumented

model_admin = (source)

Undocumented

multi_page = (source)

Undocumented

Undocumented

page_num = (source)

Undocumented

paginator = (source)

Undocumented

Undocumented

pk_attname = (source)

Undocumented

preserved_filters = (source)

Undocumented

Undocumented

queryset = (source)

Undocumented

result_count = (source)

Undocumented

result_list = (source)

Undocumented

root_queryset = (source)

Undocumented

search_fields = (source)

Undocumented

search_help_text = (source)

Undocumented

show_admin_actions = (source)

Undocumented

show_all = (source)

Undocumented

show_full_result_count = (source)

Undocumented

sortable_by = (source)

Undocumented

Undocumented

to_field = (source)

Undocumented

def _get_default_ordering(self): (source)

Undocumented

def _get_deterministic_ordering(self, ordering): (source)

Ensure a deterministic order across all database backends. Search for a single field or unique together set of fields providing a total ordering. If these are missing, augment the ordering with a descendant primary key.