diff options
| author | David <smithdc@gmail.com> | 2022-03-11 08:11:42 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-04-28 10:44:14 +0200 |
| commit | ce586ed6931092d3a5f06df9031cdeb891793ddb (patch) | |
| tree | b80a053de16b65cfaa7969cb34713cdb20dc6d84 /docs/topics/db | |
| parent | 33e89de8ca2bf4be23ec1506db8a7624511718d2 (diff) | |
Removed hyphen from pre-/re- prefixes.
"prepopulate", "preload", and "preprocessing" are already in the
spelling_wordlist.
This also removes hyphen from double "e" combinations with "pre" and
"re", e.g. preexisting, preempt, reestablish, or reenter.
See also:
- https://ahdictionary.com/word/search.html?q=rerun
- https://ahdictionary.com/word/search.html?q=recreate
- https://ahdictionary.com/word/search.html?q=predetermined
- https://ahdictionary.com/word/search.html?q=reuse
- https://ahdictionary.com/word/search.html?q=reopening
Diffstat (limited to 'docs/topics/db')
| -rw-r--r-- | docs/topics/db/optimization.txt | 2 | ||||
| -rw-r--r-- | docs/topics/db/queries.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/db/optimization.txt b/docs/topics/db/optimization.txt index 166d50710f..ca04c8fd55 100644 --- a/docs/topics/db/optimization.txt +++ b/docs/topics/db/optimization.txt @@ -289,7 +289,7 @@ It is optimal because: ``display_group_members`` is ``False``. #. Storing ``group.members.all()`` in the ``members`` variable allows its - result cache to be re-used. + result cache to be reused. #. The line ``if members:`` causes ``QuerySet.__bool__()`` to be called, which causes the ``group.members.all()`` query to be run on the database. If there diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index af26462367..c6349792b7 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -810,7 +810,7 @@ reuse it:: >>> queryset = Entry.objects.all() >>> print([p.headline for p in queryset]) # Evaluate the query set. - >>> print([p.pub_date for p in queryset]) # Re-use the cache from the evaluation. + >>> print([p.pub_date for p in queryset]) # Reuse the cache from the evaluation. When ``QuerySet``\s are not cached ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1640,7 +1640,7 @@ instances:: b = Blog.objects.get(id=1) b.entry_set.set([e1, e2]) -If the ``clear()`` method is available, any pre-existing objects will be +If the ``clear()`` method is available, any preexisting objects will be removed from the ``entry_set`` before all objects in the iterable (in this case, a list) are added to the set. If the ``clear()`` method is *not* available, all objects in the iterable will be added without removing any |
