From 8cef9a57992347275bbaf69f8d120b476fa0d0a9 Mon Sep 17 00:00:00 2001 From: Jozef Date: Tue, 17 Oct 2017 16:07:20 +0200 Subject: [PATCH] [2.0.x] Fixed typo in docs/ref/models/querysets.txt. Backport of 3bd69b126115102a4630354c876e6c7cc2d68f8f from master --- 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 0651a5bae2..2e8b53debf 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1100,7 +1100,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: