Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates.

This commit is contained in:
Tim Graham 2018-11-27 10:57:26 -05:00
parent 7056a4dd8e
commit 926fa7116f
2 changed files with 7 additions and 0 deletions

View file

@ -16,6 +16,11 @@ These functions are described in more detail in the `PostgreSQL docs
>>> SomeModel.objects.aggregate(arr=ArrayAgg('somefield'))
{'arr': [0, 1, 2]}
.. admonition:: Common aggregate options
All aggregates have the :ref:`filter <aggregate-filter>` keyword
argument.
General-purpose aggregation functions
=====================================