diff options
| author | Tim Graham <timograham@gmail.com> | 2015-06-05 08:24:53 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-05 08:24:53 -0400 |
| commit | 2fbea621e68d3365679e45fa17b61d06aa8cdf76 (patch) | |
| tree | b664bd129c3a810c067a8aaf38130232cc75310c /docs/ref/models/database-functions.txt | |
| parent | 5c35b4a8c90fbd5658352ef3ce69bcc7ba25324b (diff) | |
Capitalized "Python" in docs.
Diffstat (limited to 'docs/ref/models/database-functions.txt')
| -rw-r--r-- | docs/ref/models/database-functions.txt | 4 |
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:: |
