How do i specify a variable in side of django template file

后端 未结 0 707
不知归路
不知归路 2021-01-19 04:26

So I am trying to declare a variable inside of my django templates file

{% with object = "2" %}
{% for detail in details %}   

{% if detail.post.id         


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