I have one problem in building a list of id using django. if i choose more than 1 id it ok but if i choose only one it will produce extra \',\' in list.
test
actually you don't have to. the colon sign is just there in a string representation of the tuple. For example you can just create your own string by
print "(%s)" % ",".join(testa)