class documentation
class BaseListView(MultipleObjectMixin, View): (source)
Known subclasses: django.contrib.admin.views.autocomplete.AutocompleteJsonView
, django.views.generic.ListView
A base view for displaying a list of objects.
Method | get |
Undocumented |
Instance Variable | object |
Undocumented |
Inherited from MultipleObjectMixin
:
Method | get |
Return ``True`` if the view should display empty lists and ``False`` if a 404 should be raised instead. |
Method | get |
Get the context for this view. |
Method | get |
Get the name of the item to be used in the context. |
Method | get |
Return the field or fields to use for ordering the queryset. |
Method | get |
Get the number of items to paginate by, or ``None`` for no pagination. |
Method | get |
Return the maximum number of orphans extend the last page by when paginating. |
Method | get |
Return an instance of the paginator for this view. |
Method | get |
Return the list of items for this view. |
Method | paginate |
Paginate the queryset, if needed. |
Class Variable | allow |
Undocumented |
Class Variable | context |
Undocumented |
Class Variable | model |
Undocumented |
Class Variable | ordering |
Undocumented |
Class Variable | page |
Undocumented |
Class Variable | paginate |
Undocumented |
Class Variable | paginate |
Undocumented |
Class Variable | queryset |
Undocumented |
Inherited from ContextMixin
(via MultipleObjectMixin
):
Class Variable | extra |
Undocumented |