From 3bd69b126115102a4630354c876e6c7cc2d68f8f Mon Sep 17 00:00:00 2001 From: Jozef Date: Tue, 17 Oct 2017 16:07:20 +0200 Subject: [PATCH] Fixed typo in docs/ref/models/querysets.txt. --- docs/ref/models/querysets.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 214e18b376..9e19eff7c5 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1078,7 +1078,7 @@ one for the restaurants, one for the pizzas, and one for the toppings. This will fetch the best pizza and all the toppings for the best pizza for each restaurant. This will be done in 3 database queries - one for the restaurants, -one for the 'best pizzas', and one for one for the toppings. +one for the 'best pizzas', and one for the toppings. Of course, the ``best_pizza`` relationship could also be fetched using ``select_related`` to reduce the query count to 2: