get_context_data(**kwargs)
Returns context data for displaying the list of objects.
Context
-
object_list
: The list of objects that this view is displaying. Ifcontext_object_name
is specified, that variable will also be set in the context, with the same value asobject_list
. -
is_paginated
: A boolean representing whether the results are paginated. Specifically, this is set toFalse
if no page size has been specified, or if the available objects do not span multiple pages. -
paginator
: An instance ofdjango.core.paginator.Paginator
. If the page is not paginated, this context variable will beNone
. -
page_obj
: An instance ofdjango.core.paginator.Page
. If the page is not paginated, this context variable will beNone
.
Please login to continue.