Fixed typo in docs/ref/models/querysets.txt.

This commit is contained in:
Jozef 2017-10-17 16:07:20 +02:00 committed by Tim Graham
parent 346eb32861
commit 3bd69b1261
1 changed files with 1 additions and 1 deletions

View File

@ -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 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, 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 Of course, the ``best_pizza`` relationship could also be fetched using
``select_related`` to reduce the query count to 2: ``select_related`` to reduce the query count to 2: