Hi, I have this structure provs = {'0134': ['PSM', 0], '0135': ['GRAN', 
0]} that I need to access from a template.
What I have in the template is:

{% for prov in provs %}
  {{prov}}  {{prov.0}}  {{prov.1}}
{% endfor %}

it outputs

0134 0 1

what I need is

0134 PSM 0

Can someone tell me what I'm doing wrong?
Thanks a lot.

Facundo


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
begin:vcard
fn:Facundo Casco
n:Casco;Facundo
org:AMV Multiviajes Argentina S.R.L.
adr:Piso 12 Oficina 'G';;Esmeralda 847;Buenos Aires;CF;C1007ABI;Argentina
email;internet:[EMAIL PROTECTED]
tel;work:+54 11 5031-3060 / 3061
tel;fax:+54 11 4313-6141
url:http://www.multiviajesar.com.ar
version:2.1
end:vcard

Reply via email to