Can you use a regular expression in a Django template conditional?

后端 未结 0 857
一个人的身影
一个人的身影 2020-12-14 06:23

Is it possible to determine if a template variable in a Django template satisfies a regular expression? In the following template, I want to set the CSS class for the parag

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