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.
testa = tuple([k['id'] for k in queryset.values('id')])
print testa
if in the queryset have exactly 1 id, it will display
(1234,)
other than that it ok
(1234,1244)
How can i remove extra ', in list'