templates variables in django

后端 未结 0 1757
谎友^
谎友^ 2021-02-14 02:29

I\'m trying to use template variable to access templates dictionaries when I do {{ pair_name.8 }} it works

but {% with xx=8 %}{{ pair_name.xx }}{% endwith %} doestnt wo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题