-
Anssi Kääriäinen yazdı
The query used a construct of qs.annotate().values().aggregate() where the first annotate used an F-object reference and the values() and aggregate() calls referenced that F-object. Also made sure the inner query's select clause is as simple as possible, and made sure .values().distinct().aggreate() works correctly.
fb146193
Adı |
Son kayıt (commit)
|
Son güncelleme |
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
tests.py |