On Aug 28, 2008, at 12:34 PM, saeb wrote:

> I am using a dictionary to render  a template. But my rendered
> template has the key-value pair  which are out of order. Since
> dictionary uses a hash table to store it elements, I can't rely on
> order of  these key-value pairs. Is there any other way to render
> bunch of key-value items from a view  in a desired order? Thanks for
> help

What are you trying to do, specifically? If order is important, why  
bother with a key? Why not just store all the values in a list?

---
David Zhou
[EMAIL PROTECTED]




--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to