I have a simple problem that I am not quite sure why it won't work.

Take this dict.
{1: 10, 2: 10, 19: 0, 29: 0, 30: 10}

w is simply a list of numbers

{% for d in w %}
  {{dict.1}}
  {{dict.d}}
{% endfor %}

The first line, dict.1 works fine. But when I try to use the d
variable for the dict index it doesn't work. Is there a way to
accomplish this?


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