Hi all, I've trouble to understand how it is possible to deal (i.e. work) with python dictionnaries in django templates Say I have a dictionnary that is called mydict, how can I iterate through it's keys/values : I can get the keys ... {% for keys in mydict%} {{ keys }} {% endfor %} ... but how can I get the values ? mydict.keys does not because (I guess) the lookup is for mydict['keys'] ... Z. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
- manipulate dictionnary in django's templates zeuxis
- Re: manipulate dictionnary in django's templates Malcolm Tredinnick
- Re: manipulate dictionnary in django's templat... zeuxis
- Re: manipulate dictionnary in django's tem... Malcolm Tredinnick