1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

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
This commit is contained in:
Russell Keith-Magee 2009-01-15 12:13:17 +00:00
parent cc4e4d9aee
commit 1a87e01f21

View File

@ -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 <topics-db-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)