Dear Django Developers: 
I am a python developer. I have been using a django framework from the past 
year.
I found that there are some problems in *values* method and this is the 
description:


   1. *Miss order *of fields in querySet if  I make *myquery = 
   MyModel.objects.values('field1','field2','field3')* when I *print 
   QuerySet it give me 
[{'field2':'data','field1':'data','field3':'data'},...]*. 
   so this miss order will cause a problem at *Union *of queryset
   2.   if the *field is choices* at model then *values(...) will give me 
   the key of a dictionary instead of its value  *this is true but if I 
   display the query set to a user in a table .

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/961ee21f-b7d5-4655-914c-a55ba863d43dn%40googlegroups.com.

Reply via email to