loop in django template along with index code example Example: how take from for loop on django template {% autoescape on %} {{ body }} {% endautoescape %}