python django template for loop code example Example: for loop in django {% for i in range %} ... {% endfor %}