Checking if something exists in items of list variable in Django template

前端 未结 3 1191
无人共我
无人共我 2021-01-05 17:03

I have a list of sections that I pass to a Django template. The sections have different types. I want to say \"if there is a section of this type, display this line\" in my

3条回答
提交回复
热议问题