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