          managers_required=(Count('num_employees') / 4) + Count('num_managers'))
  
  The ``Aggregate`` API is as follows:
  
  .. class:: Aggregate(*expressions, output_field=None, filter=None, **extra)
  
      .. attribute:: template
  
          A class attribute, as a format string, that describes the SQL that is
          generated for this aggregate. Defaults to
 
</s>
.. class:: Aggregate(*expressions, output_field=None, distinct=False, filter=None, **extra)
          managers_required=(Count('num_employees') / 4) + Count('num_managers'))
  
  The ``Aggregate`` API is as follows:
  
.. class:: Aggregate(*expressions, output_field=None, distinct=False, filter=None, **extra)
  
      .. attribute:: template
  
          A class attribute, as a format string, that describes the SQL that is
          generated for this aggregate. Defaults to
keep keep keep keep replace keep keep keep keep keep
 Fixed #28658 -- Added DISTINCT handling to the Aggregate class.
docs/ref/models/expressions.txt