Answer the question
In order to leave comments, you need to log in
How to parse a list in a template in Django?
Good afternoon. I pass a list to the index.html template, in which the lines. Through "for" I sort through them and I deduce. Can I somehow cut the string already directly in the template from the series a[5:20]? I can’t do this at the moment, just divide by comma or so.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question