In the context of #33018 and
[https://github.com/django/django/pull/14770#pullrequestreview-761591996 a
comment on its PR], a suggestion was made to rename
`Aggregate.empty_aggregate_value` to `empty_result_set_value`
It might even be moved from the `Aggregate` class to `Func` to be more
general, since in #33018 we define this attribute/property for `Coalesce`.
--
Ticket URL: <https://code.djangoproject.com/ticket/33141>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: David Wobrock (added)
* owner: nobody => David Wobrock
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/14894 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/33141#comment:1>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/33141#comment:2>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/33141#comment:3>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/33141#comment:4>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/33141#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"ad36a198a12df4dff65992191b3eb0a474e2daac" ad36a198]:
{{{
#!CommitTicketReference repository=""
revision="ad36a198a12df4dff65992191b3eb0a474e2daac"
Fixed #33141 -- Renamed Expression.empty_aggregate_value to
empty_result_set_value.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33141#comment:6>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"aab76433ed585ebe997b94547e0d790605e01ad9" aab76433]:
{{{
#!CommitTicketReference repository=""
revision="aab76433ed585ebe997b94547e0d790605e01ad9"
[4.0.x] Fixed #33141 -- Renamed Expression.empty_aggregate_value to
empty_result_set_value.
Backport of ad36a198a12df4dff65992191b3eb0a474e2daac from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33141#comment:7>