how to iterate 4 times in a django html template] code example Example: for loop in django {% for i in range %} ... {% endfor %}