get index of query set django template code example Example: django template list item by index {# for index 0 #} {{ data.0 }}