diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-07-18 15:37:14 +0200 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 10:09:43 -0300 |
| commit | 1ecf6889cabc9f3f60d3fdd651468cddd8f4da6e (patch) | |
| tree | 77eebf89eaf5f1ee6f5947a962caa67b5cca7f4b /docs/ref/models | |
| parent | 1909108f9f0f2a91c1ec0fcdb65b01f58743a871 (diff) | |
Removed double spaces after periods and within phrases.
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/expressions.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/instances.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/lookups.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/options.txt | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index 060450b6d8..4e8bf266b5 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -830,7 +830,7 @@ an expression that's compatible in a window clause. The ``partition_by`` argument accepts an expression or a sequence of expressions (column names should be wrapped in an ``F``-object) that control -the partitioning of the rows. Partitioning narrows which rows are used to +the partitioning of the rows. Partitioning narrows which rows are used to compute the result set. The :ref:`output_field<output-field>` is specified either as an argument or by diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index 674626b23f..da440f1ba9 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -31,7 +31,7 @@ need to :meth:`~Model.save()`. method. If you do so, however, take care not to change the calling signature as any change may prevent the model instance from being saved. Additionally, referring to model fields within ``__init__`` may potentially - result in infinite recursion errors in some circumstances. Rather than + result in infinite recursion errors in some circumstances. Rather than overriding ``__init__``, try using one of these approaches: #. Add a classmethod on the model class:: diff --git a/docs/ref/models/lookups.txt b/docs/ref/models/lookups.txt index e993f9b9a1..3d6600dc44 100644 --- a/docs/ref/models/lookups.txt +++ b/docs/ref/models/lookups.txt @@ -149,7 +149,7 @@ following methods: This class follows the :ref:`Query Expression API <query-expression>`, which implies that you can use ``<expression>__<transform1>__<transform2>``. It's a specialized :ref:`Func() expression <func-expressions>` that only accepts - one argument. It can also be used on the right hand side of a filter or + one argument. It can also be used on the right hand side of a filter or directly as an annotation. .. attribute:: bilateral diff --git a/docs/ref/models/options.txt b/docs/ref/models/options.txt index 3433d0730f..30fa3cc374 100644 --- a/docs/ref/models/options.txt +++ b/docs/ref/models/options.txt @@ -181,7 +181,7 @@ not be looking at your Django code. For example:: includes #. Adding an automatic primary key field to the model if you don't - declare it. To avoid confusion for later code readers, it's + declare it. To avoid confusion for later code readers, it's recommended to specify all the columns from the database table you are modeling when using unmanaged models. |
