mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
[2.0.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 3bd69b1261
from master
This commit is contained in:
parent
9a2c2b7a68
commit
8cef9a5799
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue