diff options
| author | aj2s <72272843+aj2s@users.noreply.github.com> | 2025-10-17 07:20:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-17 10:20:23 -0400 |
| commit | f715bc8990b5b8a1df948c2b71e8edbdda47e7db (patch) | |
| tree | 500c40b16bda3ad6e61c26966e78bb9ad2fd28ff /docs | |
| parent | d980d68609448a4c85763fa34e471ff80540888b (diff) | |
Fixed #36669 -- Doc'd that negative indexes are not supported in F() slices.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/expressions.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index fc02f08f0d..b542fe7d71 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -182,8 +182,8 @@ Slicing ``F()`` expressions For string-based fields, text-based fields, and :class:`~django.contrib.postgres.fields.ArrayField`, you can use Python's -array-slicing syntax. The indices are 0-based and the ``step`` argument to -``slice`` is not supported. For example: +array-slicing syntax. The indices are 0-based. The ``step`` argument to +``slice`` and negative indexing are not supported. For example: .. code-block:: pycon |
