|
allow_empty
|
True
|
|
queryset
|
None
|
|
model
|
None
|
|
paginate_by
|
None
|
|
context_object_name
|
None "%(model_name)s_list"
|
|
paginator_class
|
Paginator
|
|
get_queryset()
|
queryset
|
|
paginate_queryset(self, queryset, page_size)
|
tuple
|
|
get_paginate_by(queryset)
|
int or None
|
|
get_paginator(self, queryset, per_page, orphans=0, allow_empty_first_page=True)
|
|
|
get_allow_empty()
|
bool
|
|
get_context_object_name(self, object_list)
|
string or None
|
|
get_context_data(self, **kwargs)
|
dict
|
|
get(self, request, args, *kwargs)
|
|
subclassing (TemplateResponseMixin)
|
|
|
template_name_suffix
|
'_list'
|
|
get_template_names(self)
|
list
|
|
(MultipleObjectTemplateResponseMixin, BaseListView)
|
|
custom_field(obj)
|
|
|
.allow_tags
|
handy for links (bool)
|
|
.short_description
|
string
|
|
.admin_order_field
|
field name (string)
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.