* status: new => closed
* resolution: => wontfix
Comment:
Most of functions/aggregates mentioned in the ticket description are
included in Django:
- `bit_xor()` -> `django.contrib.postgres.aggregates.BitXor`,
- `bool_and()` -> `django.contrib.postgres.aggregates.BoolAnd`,
- `covar_samp()` -> `django.contrib.postgres.aggregates.CovarPop` (with
`sample=True`),
- `stddev_pop()` -> `django.db.models.StdDev`.
As far as I'm aware after implementing #28643 we don't want to add more
functions to the core unless they are common and supported by all
backends. The current thread is to keep Django a core framework, not
providing every utility which might be useful. You can write your own
function, e.g.
{{{#!python
class Cbrt(Transform):
function = "CBRT"
lookup_name = "cbrt"
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33790#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.