Django template : For Loop
I have question about "for loop" used in Templates
the correct Syntax of using For Loop in template is :
{% for X in VALUE %}
but I want to use For loop with two value
Is it possible to use two value in one loop?
For example :
{% for X, Y in VALUE1, VALUE2 %}
Or
{% for X in VALUE1 && Y in VALUE2 %}
These syntaxes are wrong, just for example.
Is it possible to use for loop with two value in django templates?
if yes, How?
Thanks
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home