﻿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
17796	Aggregating an IntegerField returns Decimal from MySQL	adsva	nobody	"{{{
>>> MyModel.objects.get(pk=1).my_int_field
>>> 581L
>>> MyModel.objects.filter(pk=1).aggregate(Sum('my_int_field'))
>>> {'my_int_field__sum': Decimal('581')}
}}}

The aggregate used to return an integer until recently. 

It looks like changeset:17588 added a convert_values-method to the !DataBaseOperations class for the MySQL backend, but since it only handles Boolean conversions, it should probably call the parent's convert_values if it's not a boolean?
"	Bug	closed	Uncategorized	dev	Normal	fixed	orm, aggregate		Unreviewed	1	0	0	0	0	0
