> {% for item in mydict.items %}
>    the key: {{ item.0 }}
>    the value: {{ item.1 }}
>    {% for subitem in item.1 %}
>        {{ subitem }}
>    {% endfor %}
> {% endfor %}

UGH! How come django can make things so simple and complicated at the
same time? I personally dont use the django templating engine cause i
think its lame. Instead, i use Cheetah, which is a much more powerful
and fully developed python templating engine. The code to adapt this
into django is available here http://code.google.com/p/django-cheetahtemplate/

On Nov 17, 4:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> You don't need the development version. You should be able to do
> something like:
>

>
> While not as pretty as the development version of dictionary
> iteration, it's still useful.
--~--~---------~--~----~------------~-------~--~----~
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