The following link is the main point link of my index.html
https://gist.github.com/MahdinOhi/b083179a8261b1d89291b69f6d66d5c8
This is my index.html code, I'm getting an error for this code: TemplateSyntaxError at /shop/ Unable to parse the rest: '[1:]' in 'product[1:]' and my carousel The card isn't going the right way (I think it's a CSS bug) This is the error I'm getting (Jpg format):
I want to get the product name and image from the database.
I need to resolve this error. I want to improve my CSS.
The problem is that
product[1:]
Django templates do not directly support this feature. Instead you can try slice