thanks Javier..will read the docs ..

> why so harsh  to a newbie?  that link doesn't help the question,
> {{mydata_dict.key}} won't help, since 'key' here is also a variable.
>
> the answer is:
>
> {% for key, value in mydata_dict.items %}
> {{key}} = {{ value }}
> {% endfor %}
>
> and is documented in a different part:
> (http://docs.djangoproject.com/en/1.1/ref/templates/builtins/#for)
> which might not be too obvious to somebody that's new to python.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to