blob: 3a5be977d710fa617d83fbfc0dc88b7ad4397783 (
plain)
1
2
3
|
Nested loops can be done not by nesting loops over two separate lists, but by looping over the [[cartesian-product]] of the two using the `product` filter.
`{{ list1 | product(list) | list }}`
|