#10150: Make model_to_dict use SortedDict
-------------------------------------------------+--------------------------
 Reporter:  Rob Hudson <[email protected]>  |       Owner:  nobody    
   Status:  new                                  |   Milestone:            
Component:  Forms                                |     Version:  1.0       
 Keywords:                                       |       Stage:  Unreviewed
Has_patch:  0                                    |  
-------------------------------------------------+--------------------------
 The particular use case I have for this is wanting to take a model object,
 convert it to a dictionary, and use that dictionary in a detail template.
 Since I'm displaying it in a template, I'd like the order to match that of
 the model (and forms based on the model).  And it makes sense that this
 function name `model_to_dict` should maintain model ordering for its
 fields.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10150>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to