summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authoraj2s <72272843+aj2s@users.noreply.github.com>2025-10-17 07:20:23 -0700
committerJacob Walls <jacobtylerwalls@gmail.com>2025-10-17 10:22:04 -0400
commitfa772f4014a57158c77f0f7b33cffba96dff1d04 (patch)
tree9b6e6ff04892c7227b2572aaf1d20e999e7c43a8 /docs
parent887e8972874aef14d019aedf5683d13580f98d37 (diff)
[6.0.x] Fixed #36669 -- Doc'd that negative indexes are not supported in F() slices.
Backport of f715bc8990b5b8a1df948c2b71e8edbdda47e7db from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/expressions.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt
index a1b8984a9b..b1453c9e70 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