Commit 1a87e01f authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

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
parent cc4e4d9a
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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)