get_queryset()
Returns the queryset that will be used to retrieve the object that this view will display. By default, get_queryset()
returns the value of the queryset
attribute if it is set, otherwise it constructs a QuerySet
by calling the all()
method on the model
attribute’s default manager.
Please login to continue.