﻿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
9330	Template params - list type	Souparnika <nishakv@…>	nobody	"Hi,

When I try to pass a list variable as one of template params from one of my view using render_to_response method in the view it is getting as a string data type.

View code - 
{{{
ids = getIds(id,project_slug)-> returns a list type (eg: ids = [11111L,222222L]
template_params = {'ids':ids}
return render_to_response(template, template_params,
                              context_instance=RequestContext(request))
}}}
Then in the view.html 
{{{
var ids = {{ ids }};
}}}
But here it is having problems since it is considering as string data type.

Any suggestions will be very usefull.

Thanks,
Nisha.
"		closed	Uncategorized	1.0		invalid			Unreviewed	0	0	0	0	0	0
