Hi,

Django query gives me below output  format,but i want below format

    date=`[{'total': 1744, 'name: u'x'}, {'total': 13, 'name': u'm'}, 
{'total': 126, 'role': name'n'}]`
        m=[]
        for i in m:
           m.append(i.values())

   
print m
it give me output

    [[1744,u'x'], [13,u'm'], [126,u'n']]

but i need output in
how to remove unicode symbol from output 

    [['x',1744], ['m',13], ['n',126]]

how to do this ?

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to