from django.db.models import F products = Product.objects.annotate(total_cost=F('price') * F('quantity'))
products = Product.objects.all().describe() print(products)The above code will print a summary of the `Product` QuerySet in the console. These methods are part of the `django.db.models` package/library.