mirror of
https://github.com/django/django.git
synced 2025-05-02 21:24:39 +00:00
[4.1.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 38936f6a0cecfdfbfc30009a1f0a725b770f0854 from main
This commit is contained in:
parent
2389c57f5d
commit
d2c52fc727
@ -1659,8 +1659,8 @@ one, doing so will result in an error.
|
|||||||
have measured that the difference between returning the fields you need and
|
have measured that the difference between returning the fields you need and
|
||||||
the full set of fields for the model will be significant.
|
the full set of fields for the model will be significant.
|
||||||
|
|
||||||
Even if you think you are in the advanced use-case situation, **only use
|
Even if you think you are in the advanced use-case situation, **only use**
|
||||||
``defer()`` when you cannot, at queryset load time, determine if you will
|
``defer()`` **when you cannot, at queryset load time, determine if you will
|
||||||
need the extra fields or not**. If you are frequently loading and using a
|
need the extra fields or not**. If you are frequently loading and using a
|
||||||
particular subset of your data, the best choice you can make is to
|
particular subset of your data, the best choice you can make is to
|
||||||
normalize your models and put the non-loaded data into a separate model
|
normalize your models and put the non-loaded data into a separate model
|
||||||
|
Loading…
x
Reference in New Issue
Block a user