From 1a87e01f211618e42ee5e0bb30c0fa3dedb3fdda Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 15 Jan 2009 12:13:17 +0000 Subject: [PATCH] Corrected some ReST problems with the aggregation docs. Thanks to James Bennett for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9743 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/models/querysets.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index fd6a7c1c62..40a47f4c2c 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1408,7 +1408,9 @@ Aggregation Functions .. versionadded:: 1.1 Django provides the following aggregation functions in the -``django.db.models`` module. +``django.db.models`` module. For details on how to use these +aggregate functions, see +:ref:`the topic guide on aggregation `. ``Avg`` ~~~~~~~ @@ -1458,7 +1460,7 @@ Returns the minimum value of the given field. * Return type: same as input field ``StdDev`` -~~~~~~~~~ +~~~~~~~~~~ .. class:: StdDev(field, sample=False) @@ -1491,7 +1493,7 @@ Computes the sum of all values of the given field. * Return type: same as input field ``Variance`` -~~~~~~~~~ +~~~~~~~~~~~~ .. class:: Variance(field, sample=False)