class documentation
class ChangeList: (source)
Undocumented
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | apply |
Undocumented |
Method | get |
Undocumented |
Method | get |
Return all params except IGNORED_PARAMS. |
Method | get |
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 |
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 |
Return a dictionary of ordering field column numbers and asc/desc. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | has |
Undocumented |
Method | url |
Undocumented |
Instance Variable | can |
Undocumented |
Instance Variable | clear |
Undocumented |
Instance Variable | date |
Undocumented |
Instance Variable | filter |
Undocumented |
Instance Variable | full |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | list |
Undocumented |
Instance Variable | list |
Undocumented |
Instance Variable | list |
Undocumented |
Instance Variable | list |
Undocumented |
Instance Variable | list |
Undocumented |
Instance Variable | list |
Undocumented |
Instance Variable | list |
Undocumented |
Instance Variable | lookup |
Undocumented |
Instance Variable | model |
Undocumented |
Instance Variable | model |
Undocumented |
Instance Variable | multi |
Undocumented |
Instance Variable | opts |
Undocumented |
Instance Variable | page |
Undocumented |
Instance Variable | paginator |
Undocumented |
Instance Variable | params |
Undocumented |
Instance Variable | pk |
Undocumented |
Instance Variable | preserved |
Undocumented |
Instance Variable | query |
Undocumented |
Instance Variable | queryset |
Undocumented |
Instance Variable | result |
Undocumented |
Instance Variable | result |
Undocumented |
Instance Variable | root |
Undocumented |
Instance Variable | search |
Undocumented |
Instance Variable | search |
Undocumented |
Instance Variable | show |
Undocumented |
Instance Variable | show |
Undocumented |
Instance Variable | show |
Undocumented |
Instance Variable | sortable |
Undocumented |
Instance Variable | title |
Undocumented |
Instance Variable | to |
Undocumented |
Method | _get |
Undocumented |
Method | _get |
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
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.
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.