1
0
mirror of https://github.com/django/django.git synced 2025-03-24 16:20:46 +00:00

[5.1.x] Fixed typo in docs/ref/models/expressions.txt.

Backport of fed11ba4617a5fa151bbabb91eb27ec01dd7c942 from main.
This commit is contained in:
Mariusz Felisiak 2024-08-28 11:24:14 +02:00 committed by Natalia
parent 03e0ab5c64
commit 625aab3aea

@ -975,9 +975,9 @@ frame includes all rows from the partition to the last row in the set.
The accepted values for the ``start`` and ``end`` arguments are ``None``, an
integer, or zero. A negative integer for ``start`` results in ``N PRECEDING``,
while ``None`` yields ``UNBOUNDED PRECEDING``. In ``ROWS`` mode, a positive
integer can be used for ```start`` resulting in ``N FOLLOWING``. Positive
integer can be used for ``start`` resulting in ``N FOLLOWING``. Positive
integers are accepted for ``end`` and results in ``N FOLLOWING``. In ``ROWS``
mode, a negative integer can be used for ```end`` resulting in ``N PRECEDING``.
mode, a negative integer can be used for ``end`` resulting in ``N PRECEDING``.
For both ``start`` and ``end``, zero will return ``CURRENT ROW``.
There's a difference in what ``CURRENT ROW`` includes. When specified in