list data to variable in django code example Example: django template list item by index {# for index 0 #} {{ data.0 }}