﻿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
24760	Custom Aggregate: Return string (even if aggregate field is other type)	Helmut	nobody	"I'm writing a custom aggregate that should return a comma-separated string of numbers. In my specific case, the aggregate field is an IntegerField, and so Django tries to cast the aggregate result to int. So then I specified ""is_ordinal = False"" on the class, but it is still trying to cast to int.

It seems like the code just checks if is_ordinal is True. If it's anything other than true, it casts to the type of the aggregate field. Might this be a bug, or is there another way to get it to not cast to int?

Thanks."	Bug	closed	Database layer (models, ORM)	1.7	Normal	wontfix			Unreviewed	0	0	0	0	0	0
