Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

for loop and variable properties issue #1

Closed
sendtopms opened this Issue Jun 29, 2010 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

sendtopms commented Jun 29, 2010

I have a situation as below

  1. L1 = [{K1, V1}, {K2, V2}] and L2 = [{V1, some_value}, {V2, other_value}]
    I have forloop to iterate L1 but not know how to access L2 value, is that
    {% for Key, Val in L1 %} {{ L2.Key}}
    {% endfor %}
    or how do you recommend to access it?
Contributor

evanmiller commented Jan 20, 2013

Dynamic attribute accesses are not supported.

@evanmiller evanmiller closed this Jan 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment