Converting a unicode string to a list of strings
http://stackoverflow.com/questions/5001385/unicode-to-python-object-conversion
n = [e.encode('utf-8') for e in s.strip('[]').split(',')]
Converting a list of longs to a list of intsnew_list = [int(e) for e in queryset]
Share on Twitter Share on Facebook