                              'aggregations on date/time fields in sqlite3 '
                              'since date/time is saved as text.'
                          )
  
      def date_extract_sql(self, lookup_type, field_name):
          """
          Support EXTRACT with a user-defined function django_date_extract()
          that's registered in connect(). Use single quotes because this is a
 
</s> remove .. class:: Aggregate(*expressions, output_field=None, filter=None, **extra)
 </s> add .. class:: Aggregate(*expressions, output_field=None, distinct=False, filter=None, **extra) </s> remove         super().__init__(
            expression, distinct='DISTINCT ' if distinct else '',
            filter=filter, **extra
        )

    def _get_repr_options(self):
        return {**super()._get_repr_options(), 'distinct': self.extra['distinct'] != ''}
 </s> add         super().__init__(expression, filter=filter, **extra) </s> remove         super().__init__(*args, **kwargs)
 </s> add         super().__init__(*expressions, **extra)
        if isinstance(expression, aggregates.Aggregate) and len(expression.source_expressions) > 1:
            raise utils.NotSupportedError(
                "SQLite doesn't support DISTINCT on aggregate functions "
                "accepting multiple arguments."
            )
                              'aggregations on date/time fields in sqlite3 '
                              'since date/time is saved as text.'
                          )
        if isinstance(expression, aggregates.Aggregate) and len(expression.source_expressions) > 1:
            raise utils.NotSupportedError(
                "SQLite doesn't support DISTINCT on aggregate functions "
                "accepting multiple arguments."
            )
  
      def date_extract_sql(self, lookup_type, field_name):
          """
          Support EXTRACT with a user-defined function django_date_extract()
          that's registered in connect(). Use single quotes because this is a
keep keep add keep keep keep keep keep
 Fixed #28658 -- Added DISTINCT handling to the Aggregate class. 
django/db/backends/sqlite3/operations.py