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:
parent
cc4e4d9aee
commit
1a87e01f21
|
@ -1408,7 +1408,9 @@ Aggregation Functions
|
||||||
.. versionadded:: 1.1
|
.. versionadded:: 1.1
|
||||||
|
|
||||||
Django provides the following aggregation functions in the
|
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``
|
``Avg``
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
@ -1458,7 +1460,7 @@ Returns the minimum value of the given field.
|
||||||
* Return type: same as input field
|
* Return type: same as input field
|
||||||
|
|
||||||
``StdDev``
|
``StdDev``
|
||||||
~~~~~~~~~
|
~~~~~~~~~~
|
||||||
|
|
||||||
.. class:: StdDev(field, sample=False)
|
.. 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
|
* Return type: same as input field
|
||||||
|
|
||||||
``Variance``
|
``Variance``
|
||||||
~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
.. class:: Variance(field, sample=False)
|
.. class:: Variance(field, sample=False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue