hi johnny,
you can use dot syntax for indices also, ie:
{{ a_tup.0 }}
{{ a_tup.1 }}
-jake
On Wed, 2007-10-17 at 08:20 -0700, johnny wrote:
>
> {% for a_tup in rs %}
>
> {{ a_tup[0] }}/
>{{ a_tup[1]
>
> {% endfor %}
>
> Exception Type: TemplateSyntaxError
> Exception Value: Could not parse the remainder: '[0]' from 'a_tup[0]'
>
> Only way to do this is to have nested for loop inside template?
>
>
> >
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---