| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Filters in annotations crashed when used with numerical-type
aggregations (i.e. Avg, StdDev, and Variance). This was caused as the
source expressions no not necessarily have an output_field (such as the
filter field), which lead to an AttributeError: 'WhereNode' object has
no attribute output_field.
Thanks to Chuan-Zheng Lee for the report.
Regression in c690afb873cac8035a3cb3be7c597a5ff0e4b261 and two following
commits.
|
|
|
|
Thanks Jan Baryła for the detailed report and the reduced test case.
|
|
Subquery annotations can be omitted from the GROUP BY clause on aggregation
as long as they are not explicitly grouped against.
Thanks Jonny Fuller for the report.
|
|
Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111 (refs #28658).
|
|
Keeps precision instead of forcing DecimalField to FloatField.
|
|
|
|
Thanks Taqi Abbas and Raphael Kimmig for the report.
|
|
|
|
|
|
|
|
Also defined an explicit output_field as it was mixing an expression with an
IntegerField() with one with a DecimalField().
|
|
_resolve_output_field() fails.
|
|
Thanks Tim Graham and Nick Pope for reviews.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
field type.
Thanks Tim for the review and Josh for the input.
|
|
|
|
appropriate.
|
|
|
|
Per deprecation timeline.
|
|
|
|
|
|
ForeignKey/OneToOneField
|
|
Thanks Josh Smeaton for help on the tests.
|
|
|
|
|
|
Forwardport of ae1d663b7913f6da233c55409c4973248372d302
from stable/1.8.x plus more.
|
|
|
|
|
|
c7fd9b242d2d63406f1de6cc3204e35aaa025233
|
|
|
|
|
|
|
|
|
|
Refs #14030.
|
|
Refactored compiler SELECT, GROUP BY and ORDER BY generation.
While there, also refactored select_related() implementation
(get_cached_row() and get_klass_info() are now gone!).
Made get_db_converters() method work on expressions instead of
internal_type. This allows the backend converters to target
specific expressions if need be.
Added query.context, this can be used to set per-query state.
Also changed the signature of database converters. They now accept
context as an argument.
|
|
|
|
|
|
|
|
|
|
|
|
|