id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 30486 Custom aggregate function example needs updating for Django 2.2's `allow_distinct` Carlton Gibson Vyacheslav V.V. "#28658 added the `Aggregate.allow_distinct` attribute. The example of the custom `Count` needs updating to use this. [https://github.com/django/django/pull/11373 PR] already begun. " Bug closed Documentation 2.2 Normal fixed Accepted 1 0 0 0 0 0