diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2023-10-28 14:21:15 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-10-28 14:22:30 +0200 |
| commit | 61612990d8c31ec1d9a9e9e48ae642a6f8d88120 (patch) | |
| tree | 2604ae71bbd18da200caca430d3581054e1ce6ed | |
| parent | 696fbc32d6185283859b3a84277f49937a3012fc (diff) | |
[4.2.x] Fixed typos in docs/ref/models/expressions.txt.
Backport of 8992a0489c01ac8ab7283264a315c005511323e2 from main
| -rw-r--r-- | docs/ref/models/expressions.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index dba06b9cf4..30b691c727 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -783,7 +783,7 @@ instead they are part of the selected columns. .. attribute:: template - Defaults to ``%(expression)s OVER (%(window)s)'``. If only the + Defaults to ``%(expression)s OVER (%(window)s)``. If only the ``expression`` argument is provided, the window clause will be blank. The ``Window`` class is the main expression for an ``OVER`` clause. @@ -964,9 +964,9 @@ with the average rating of a movie's two prior and two following peers: If the database supports it, you can specify the start and end points based on values of an expression in the partition. If the ``released`` field of the -``Movie`` model stores the release month of each movies, this ``ValueRange`` +``Movie`` model stores the release month of each movie, this ``ValueRange`` example annotates each movie with the average rating of a movie's peers -released between twelve months before and twelve months after the each movie: +released between twelve months before and twelve months after each movie: .. code-block:: pycon |
