Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #10344 -- Corrected some typos in the aggregation docs. Thanks …

…to ewoudenberg for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 86a048b4e0dd07d56fafe5d294d5e12b5277a41b 1 parent 5f9ac28
@freakboy3742 freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/db/aggregation.txt
View
4 docs/topics/db/aggregation.txt
@@ -143,7 +143,7 @@ Joins and aggregates
====================
So far, we have dealt with aggregates over fields that belong to the
-model being queries. However, sometimes the value you want to aggregate
+model being queried. However, sometimes the value you want to aggregate
will belong to a model that is related to the model you are querying.
When specifying the field to be aggregated in an aggregate functions,
@@ -271,7 +271,7 @@ rating of books written by each author:
>>> Author.objects.annotate(average_rating=Avg('book__rating'))
-This will return one result for each author in the database, annotate with
+This will return one result for each author in the database, annotated with
their average book rating.
However, the result will be slightly different if you use a ``values()`` clause::
Please sign in to comment.
Something went wrong with that request. Please try again.