http://docs.torriacg.org/docs/jinja2/templates.html
wordcount(s)
Count the words in that string.
{{results.name|wordcount('a')}}
{{results.name|wordcount(a)}}
均不行哦,都报
TypeError: do_wordcount() takes exactly 1 argument (2 given)
wordcount(s)
Count the words in that string.
{{results.name|wordcount('a')}}
{{results.name|wordcount(a)}}
均不行哦,都报
TypeError: do_wordcount() takes exactly 1 argument (2 given)