before <ul> {% for iterator in fruit_list %} <li>{{ iterator }}</li> {% endfor %} </ul> after