Did you try this dictsort. http://www.djangoproject.com/documentation/0.96/templates/#dictsort
Or order by python before (same thing) http://wiki.python.org/moin/SortingListsOfDictionaries Django use the decorated/undecorated method. On 5 oct, 15:23, ell <[EMAIL PROTECTED]> wrote: > hi, > > how do I iterate from a dictionary orderly ? > > when i try to iterate from a dictionary i use the lines > > {% for i in mydictionary.items %} > > {{i.0}} {{i.1}} > > {% endfor %} > > i seem to get it unorderly? and why is dictionary iteration not in the > template documentation? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
