瀏覽代碼

[5.0.x] Fixed typos in docs/ref/models/expressions.txt.

Backport of 8992a0489c01ac8ab7283264a315c005511323e2 from main
Sarah Boyce 1 年之前
父節點
當前提交
dfdca516ea
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      docs/ref/models/expressions.txt

+ 3 - 3
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.
@@ -960,9 +960,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