Changes between Initial Version and Version 1 of Ticket #31967, comment 4
- Timestamp:
- Aug 31, 2020, 8:05:31 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31967, comment 4
initial v1 1 1 We didn't resolve output fields for `Value()` expressions before 1e38f1191de21b6e96736f58df57dfb851a28c1f, so they were ignored when resolving an output field for functions. Now, we take them into account, that's why an error is raised. IMO it's an expected behavior. It should be enough to mention this in release notes. 2 2 3 You can fix this by using `Decimal('0')`, e.g. `Coalesce(F('field_decimal'), Decimal('0')))` 3 ~~You can fix this by using `Decimal('0')`, e.g. `Coalesce(F('field_decimal'), Decimal('0')))`~~