I am getting an array arr
passed to my Django template. I want to access individual elements of the array in the array (e.g. arr[0]
, arr[1]
) etc. instead of looping through the whole array.
Is there a way to do that in a Django template?
I am getting an array arr
passed to my Django template. I want to access individual elements of the array in the array (e.g. arr[0]
, arr[1]
) etc. instead of looping through the whole array.
Is there a way to do that in a Django template?