blob: fded56abc4bb7e55ea8d4d2c2f9530b577c5f67b (
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 }}`
|