On Monday, October 1, 2012 5:44:35 AM UTC+2, Steven Kryskalla wrote:
>
> It is mentioned in the docs here: 
>
> http://jinja.pocoo.org/docs/templates/#for 
>
> "If no iteration took place because the sequence was empty or the 
> filtering removed all the items from the sequence you can render a 
> replacement block by using else" 
>

Thanks, you're right. I obviously wasn't reading the explicit 
for-documentation, but I was just looking at arbitrary examples of the for 
loop everywhere else, which don't contain the else part.

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pocoo-libs/-/M-IoZJflCr4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to