module documentation

Undocumented

Variable register Undocumented
Class ​Result​List Wrapper class used to return items in a list_editable changelist, annotated with the form object for error reporting purposes. Needed to maintain backwards compatibility with existing admin templates.
Function ​_boolean​_icon Undocumented
Function ​_coerce​_field​_name Coerce a field_name (which may be a callable) to a string.
Function admin​_actions Track the number of times the action field has been rendered on the page, so we know which value to use.
Function admin​_actions​_tag Undocumented
Function admin​_list​_filter Undocumented
Function change​_list​_object​_tools​_tag Display the row of change list object tools.
Function date​_hierarchy Display the date hierarchy for date drill-down functionality.
Function date​_hierarchy​_tag Undocumented
Function items​_for​_result Generate the actual list of data.
Function pagination Generate the series of links to the pages in a paginated list.
Function pagination​_tag Undocumented
Function paginator​_number Generate an individual page index link in a paginated list.
Function result​_headers Generate the list column headers.
Function result​_hidden​_fields Undocumented
Function result​_list Display the headers and data list together.
Function result​_list​_tag Undocumented
Function results Undocumented
Function search​_form Display a search form for searching the list.
Function search​_form​_tag Undocumented
register =

Undocumented

def _boolean_icon(field_val):

Undocumented

def _coerce_field_name(field_name, field_index):
Coerce a field_name (which may be a callable) to a string.
def admin_actions(context):
Track the number of times the action field has been rendered on the page, so we know which value to use.
@register.tag(name='admin_actions')
def admin_actions_tag(parser, token):

Undocumented

@register.simple_tag
def admin_list_filter(cl, spec):

Undocumented

@register.tag(name='change_list_object_tools')
def change_list_object_tools_tag(parser, token):
Display the row of change list object tools.
def date_hierarchy(cl):
Display the date hierarchy for date drill-down functionality.
@register.tag(name='date_hierarchy')
def date_hierarchy_tag(parser, token):

Undocumented

def items_for_result(cl, result, form):
Generate the actual list of data.
def pagination(cl):
Generate the series of links to the pages in a paginated list.
@register.tag(name='pagination')
def pagination_tag(parser, token):

Undocumented

@register.simple_tag
def paginator_number(cl, i):
Generate an individual page index link in a paginated list.
def result_headers(cl):
Generate the list column headers.
def result_hidden_fields(cl):

Undocumented

def result_list(cl):
Display the headers and data list together.
@register.tag(name='result_list')
def result_list_tag(parser, token):

Undocumented

def results(cl):

Undocumented

def search_form(cl):
Display a search form for searching the list.
@register.tag(name='search_form')
def search_form_tag(parser, token):

Undocumented