﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29066	Allow negating query expressions	Matthew Pava	Priyansh Saxena	"I am trying to negate the sum of values in my model, and the workaround is to multiply by `Value(-1)`.

I get this error when I try to annotate by `-Sum('field')`:

{{{
TypeError
bad operand type for unary -: 'Sum'
}}}
"	Bug	closed	Database layer (models, ORM)	dev	Normal	fixed		Adam Johnson	Ready for checkin	1	0	0	0	0	0
