[Answered ]-Django Template not rendering data using when using for loop with index

1👍

It seems like the issue is with the way you are trying to access the order.products list using the index i. In the templates, you cannot use variables to dynamically access attributes of an object

Leave a comment