class documentation

class ChangeList:

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __repr__ Undocumented
Method ​_get​_default​_ordering Undocumented
Method ​_get​_deterministic​_ordering No summary
Method apply​_select​_related Undocumented
Method get​_filters Undocumented
Method get​_filters​_params Return all params except IGNORED_PARAMS.
Method get​_ordering No summary
Method get​_ordering​_field No summary
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
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):

Undocumented

def __repr__(self):

Undocumented

def _get_default_ordering(self):

Undocumented

def _get_deterministic_ordering(self, 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 apply_select_related(self, qs):

Undocumented

def get_filters(self, request):

Undocumented

def get_filters_params(self, params=None):
Return all params except IGNORED_PARAMS.
def get_ordering(self, request, queryset):
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):
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):
Return a dictionary of ordering field column numbers and asc/desc.
def get_query_string(self, new_params=None, remove=None):

Undocumented

def get_queryset(self, request):

Undocumented

def get_results(self, request):

Undocumented

def has_related_field_in_list_display(self):

Undocumented

def url_for_result(self, result):

Undocumented

can_show_all =

Undocumented

clear_all_filters_qs =

Undocumented

date_hierarchy =

Undocumented

filter_specs =

Undocumented

full_result_count =

Undocumented

has_active_filters =

Undocumented

has_filters =

Undocumented

is_popup =

Undocumented

list_display =

Undocumented

list_display_links =

Undocumented

list_editable: tuple =

Undocumented

list_filter =

Undocumented

list_max_show_all =

Undocumented

list_per_page =

Undocumented

list_select_related =

Undocumented

lookup_opts =

Undocumented

model =

Undocumented

model_admin =

Undocumented

multi_page =

Undocumented

opts =

Undocumented

page_num: int =

Undocumented

paginator =

Undocumented

params =

Undocumented

pk_attname =

Undocumented

preserved_filters =

Undocumented

query =

Undocumented

queryset =

Undocumented

result_count =

Undocumented

result_list =

Undocumented

root_queryset =

Undocumented

search_fields =

Undocumented

search_help_text =

Undocumented

show_admin_actions =

Undocumented

show_all =

Undocumented

show_full_result_count =

Undocumented

sortable_by =

Undocumented

title =

Undocumented

to_field =

Undocumented