class Prefetch(lookup, queryset=None, to_attr=None) [source] The Prefetch()
ordered True if the QuerySet is ordered — i.e. has an order_by() clause or a default
class StdDev(expression, sample=False, **extra) [source] Returns the standard deviation of
dates(field, kind, order='ASC') Returns a QuerySet that evaluates to a list of
annotate(*args, **kwargs) Annotates each object in the QuerySet with the provided list of query
class Min(expression, output_field=None, **extra) [source] Returns the minimum value of the
defer(*fields) In some complex data-modeling situations, your models might contain a lot of fields, some of which could contain
iterator() Evaluates the QuerySet (by performing the query) and returns an iterator (see
distinct If distinct=True, the count will only include unique instances. This is the SQL equivalent of COUNT(DISTINCT
class QuerySet(model=None, query=None, using=None) [source] Usually when you’ll interact
Page 4 of 6