0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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

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
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: