On 11/9/05, Kevin <[EMAIL PROTECTED]> wrote:
> Is there a reason you can't do this:
>
> {% for items in dictionary.items %}
> ... be able to use {{ items.0 }} and "{{ items.1 }}"...
> {% endfor %}
>
> this is equivalent to the python:
> for key, value in dictionary.items()
That should work, exact
Is there a reason you can't do this:
{% for items in dictionary.items %}
... be able to use {{ items.0 }} and "{{ items.1 }}"...
{% endfor %}
this is equivalent to the python:
for key, value in dictionary.items()
but since for loops in the template language can only create one
variable, you nee
2 matches
Mail list logo