Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Get lengths of a list in a jinja2 template

{{'0' if linked_contacts == None else linked_contacts|length}}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Get #lengths #list #template
ADD COMMENT
Topic
Name
1+2 =