How would I do the following in jinja2:
while apples < oranges:
# some work here.
According to http://jinja.pocoo.org/docs/dev/extensions/#loop-controls, and by the error I am getting, Jinja2 does not support while loops.
The question is I want to continuously do some work as long as the value of apples
is less than that of oranges
Thanks for any help.
Also something equivalent to while True:
is good also.