class documentation

class BaseListView(MultipleObjectMixin, View):

Known subclasses: django.contrib.admin.views.autocomplete.AutocompleteJsonView, django.views.generic.ListView

View In Hierarchy

A base view for displaying a list of objects.
Method get Undocumented
Instance Variable object​_list Undocumented

Inherited from MultipleObjectMixin:

Method get​_allow​_empty Return True if the view should display empty lists and False if a 404 should be raised instead.
Method get​_context​_data Get the context for this view.
Method get​_context​_object​_name Get the name of the item to be used in the context.
Method get​_ordering Return the field or fields to use for ordering the queryset.
Method get​_paginate​_by Get the number of items to paginate by, or None for no pagination.
Method get​_paginate​_orphans Return the maximum number of orphans extend the last page by when paginating.
Method get​_paginator Return an instance of the paginator for this view.
Method get​_queryset Return the list of items for this view.
Method paginate​_queryset Paginate the queryset, if needed.
Class Variable allow​_empty Undocumented
Class Variable context​_object​_name Undocumented
Class Variable model Undocumented
Class Variable ordering Undocumented
Class Variable page​_kwarg Undocumented
Class Variable paginate​_by Undocumented
Class Variable paginate​_orphans Undocumented
Class Variable queryset Undocumented

Inherited from ContextMixin (via MultipleObjectMixin):

Class Variable extra​_context Undocumented
def get(self, request, *args, **kwargs):