diff options
| author | Clifford Gama <cliffygamy@gmail.com> | 2026-01-19 15:39:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-19 08:39:25 -0500 |
| commit | 25416413470d8e6630528626ee8b033d2d77ff46 (patch) | |
| tree | 69331b93412e68d0c0c63df30541ff349053d34f /docs/ref | |
| parent | 899eee3883bfdfeb4ea3ac7f6b3b4588b728e6dc (diff) | |
Fixed unbalanced parentheses in docs.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/postgres/lookups.txt | 2 | ||||
| -rw-r--r-- | docs/ref/migration-operations.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/querysets.txt | 2 | ||||
| -rw-r--r-- | docs/ref/request-response.txt | 2 | ||||
| -rw-r--r-- | docs/ref/settings.txt | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/docs/ref/contrib/postgres/lookups.txt b/docs/ref/contrib/postgres/lookups.txt index 6dc6618f9a..63cb0a116b 100644 --- a/docs/ref/contrib/postgres/lookups.txt +++ b/docs/ref/contrib/postgres/lookups.txt @@ -89,7 +89,7 @@ can be chained with other lookup functions. To use it, you need to add the `unaccent extension on PostgreSQL`_. The :class:`~django.contrib.postgres.operations.UnaccentExtension` migration operation is available if you want to perform this activation using -migrations). +migrations. .. _unaccent extension on PostgreSQL: https://www.postgresql.org/docs/current/unaccent.html diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt index f8b13456a0..a59dd1ee2b 100644 --- a/docs/ref/migration-operations.txt +++ b/docs/ref/migration-operations.txt @@ -158,7 +158,7 @@ Alters the managers that are available during migrations. Adds a field to a model. ``model_name`` is the model's name, ``name`` is the field's name, and ``field`` is an unbound Field instance (the thing you would put in the field declaration in ``models.py`` - for example, -``models.IntegerField(null=True)``. +``models.IntegerField(null=True)``). The ``preserve_default`` argument indicates whether the field's default value is permanent and should be baked into the project state (``True``), diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index 323de16b1f..716cb48b4c 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -814,7 +814,7 @@ The ``__hash__()`` method is based on the instance's primary key value. It is effectively ``hash(obj.pk)``. If the instance doesn't have a primary key value then a ``TypeError`` will be raised (otherwise the ``__hash__()`` method would return different values before and after the instance is -saved, but changing the :meth:`~object.__hash__` value of an instance is +saved), but changing the :meth:`~object.__hash__` value of an instance is forbidden in Python. ``get_absolute_url()`` diff --git a/docs/ref/models/lookups.txt b/docs/ref/models/lookups.txt index d2d91deb4e..b8e0ff7c96 100644 --- a/docs/ref/models/lookups.txt +++ b/docs/ref/models/lookups.txt @@ -26,7 +26,7 @@ all Django builtin lookups are derived: A lookup expression consists of three parts: -* Fields part (e.g. +* Fields part, e.g. ``Book.objects.filter(author__best_friends__first_name...``); * Transforms part (may be omitted) (e.g. ``__lower__first3chars__reversed``); * A lookup (e.g. ``__icontains``) that, if omitted, defaults to ``__exact``. diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 1c92ea552b..2fbcd4b942 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1990,7 +1990,7 @@ them: .. code-block:: pycon >>> Person.objects.select_related("hometown").select_for_update().exclude(hometown=None) - <QuerySet [<Person: ...)>, ...]> + <QuerySet [<Person: ...>, ...]> The ``postgresql``, ``oracle``, and ``mysql`` database backends support ``select_for_update()``. However, MariaDB only supports the ``nowait`` diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 1f3e274141..4e3a201552 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -186,7 +186,7 @@ All attributes should be considered read-only, unless stated otherwise. .. code-block:: pycon >>> request.headers - {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6', ...} + {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6', ...)} >>> "User-Agent" in request.headers True diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 8ac7a194f6..fe3792bc5c 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -3668,7 +3668,7 @@ usage. :doc:`staticfiles</ref/contrib/staticfiles>`’s :setting:`finders<STATICFILES_FINDERS>`, which by default, are ``'static/'`` app sub-directories and any directories you include in - :setting:`STATICFILES_DIRS`). + :setting:`STATICFILES_DIRS`. .. setting:: STATIC_URL |
