11 | | Note that I've removed the Sum. We're now just adding two fields. I'm not 100% sure that this is supported on all backends, but if it's not it should be. Also note that I've wrapped both F() expressions in brackets so that I can apply the output_field to the combination of both. Can you give that a go and report back please? |
| 11 | Note that I've removed the Sum. We're now just adding two fields. I'm not 100% sure that this is supported on all backends, but if it's not it should be. Also note that I've provided a datetime output field to the duration F expression. That's so that both expressions have the same output type, so that the entire expression will have an output type of DateTimeField. We should probably have a new type whose purpose is to provide an output field for the entire expression. |
| 12 | |
| 13 | Can you give that a go and report back please? |