Closed mothsART closed 1 year ago
You can't do that. You can use range(start=0, end=5)
as your loop but not like you're doing in your example
Ok, I think, the best ways is to create my own parser and collect this values on a first step.
Thanks for your answer
Hi,
I want to use Tera for a project who generate fake datas (using https://crates.io/crates/fake)
Ideally, I will manage all the things with a simple template file (user input).
For example :
I would like to force the generation of a list of 5 entries.
Is there a solution to use setters ? For getters, I do :
Thanks