Django
1.0
▾ django
▸ __main__
▸ apps
▸ bin
▸ conf
▾ contrib
▾ admin
▸ actions
▸ apps
▸ checks
▸ decorators
▸ exceptions
▸ filters
▸ forms
▸ helpers
▸ migrations
▸ models
▸ options
▸ sites
▾ templatetags
▾ admin_list
class
ResultList
▸ admin_modify
▸ admin_urls
▸ base
▸ log
▸ tests
▸ utils
▸ views
▸ widgets
▸ admindocs
▸ auth
▸ contenttypes
▸ flatpages
▸ gis
▸ humanize
▸ messages
▸ postgres
▸ redirects
▸ sessions
▸ sitemaps
▸ sites
▸ staticfiles
▸ syndication
▸ core
▸ db
▸ dispatch
▸ forms
▸ http
▸ middleware
▸ shortcuts
▸ template
▸ templatetags
▸ test
▸ urls
▸ utils
▸ views
Module admin_list
django
.
contrib
.
admin
.
templatetags
.
admin_list
source
link
Classes
class
ResultList
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.
Functions
▷
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.
source
link
▷
def
admin_actions_tag
(
parser, token
)
@register.tag(name='admin_actions')
@register.tag(name='admin_actions')
def
admin_actions_tag(
parser,
token,
)
source
link
▷
def
admin_list_filter
(
cl, spec
)
@register.simple_tag
@register.simple_tag
def
admin_list_filter(
cl,
spec,
)
source
link
▷
def
change_list_object_tools_tag
(
parser, token
)
@register.tag(name='change_list_object_tools')
Display the row of change list object tools.
@register.tag(name='change_list_object_tools')
def
change_list_object_tools_tag(
parser,
token,
)
source
link
▷
def
date_hierarchy
(
cl
)
Display the date hierarchy for date drill-down functionality.
source
link
▷
def
date_hierarchy_tag
(
parser, token
)
@register.tag(name='date_hierarchy')
@register.tag(name='date_hierarchy')
def
date_hierarchy_tag(
parser,
token,
)
source
link
▷
def
items_for_result
(
cl, result, form
)
Generate the actual list of data.
source
link
▷
def
pagination
(
cl
)
Generate the series of links to the pages in a paginated list.
source
link
▷
def
pagination_tag
(
parser, token
)
@register.tag(name='pagination')
@register.tag(name='pagination')
def
pagination_tag(
parser,
token,
)
source
link
▷
def
paginator_number
(
cl, i
)
@register.simple_tag
Generate an individual page index link in a paginated list.
@register.simple_tag
def
paginator_number(
cl,
i,
)
source
link
▷
def
result_headers
(
cl
)
Generate the list column headers.
source
link
▷
def
result_hidden_fields
(
cl
)
source
link
▷
def
result_list
(
cl
)
Display the headers and data list together.
source
link
▷
def
result_list_tag
(
parser, token
)
@register.tag(name='result_list')
@register.tag(name='result_list')
def
result_list_tag(
parser,
token,
)
source
link
▷
def
results
(
cl
)
source
link
▷
def
search_form
(
cl
)
Display a search form for searching the list.
source
link
▷
def
search_form_tag
(
parser, token
)
@register.tag(name='search_form')
@register.tag(name='search_form')
def
search_form_tag(
parser,
token,
)
source
link
Generated by
nedoc
v0.9 at 2020-12-29 14:04