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

> order is important for display, I am calculating sum and average on
> query objects and storing it in dictionary with key/values which are
> used in a template. So I have a dictionary  something like this :
> {'name': user1, 'phone': 723872, 'Total Friends': 20, 'Avg Rating' :
> 3.6}
> so when I render I would these to appear in order.


Can you post the relevant view and template code?

But if it's just those fields, why not refer to them explicitly? Such  
as:

{{dict_variabe.name}} or {{dict_variable.phone}}

---
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