jinja for items in list

Solutions on MaxInterview for jinja for items in list by the best coders in the world

showing results for - "jinja for items in list"
David
25 Jul 2016
1<ul>  # Builds a list of objects using Jinja Template tags
2  {% for object in objects.all %} 
3  	<li> 
4    	{{ object.attribute }} 
5    </li>
6  {% endfor %}
7</ul>