summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/database-functions.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/database-functions.txt b/docs/ref/models/database-functions.txt
index 62b65b8858..3477bd3263 100644
--- a/docs/ref/models/database-functions.txt
+++ b/docs/ref/models/database-functions.txt
@@ -57,7 +57,7 @@ Usage examples::
.. warning::
- A python value passed to ``Coalesce`` on MySQL may be converted to an
+ A Python value passed to ``Coalesce`` on MySQL may be converted to an
incorrect type unless explicitly cast to the correct database type:
>>> from django.db.models.expressions import RawSQL
@@ -121,7 +121,7 @@ Usage example::
>>> comments = Comment.objects.annotate(last_updated=Greatest('modified', 'blog__modified'))
>>> annotated_comment = comments.get()
-``annotated_comment.last_updated`` will be the most recent of
+``annotated_comment.last_updated`` will be the most recent of
``blog.modified`` and ``comment.modified``.
.. warning::