6
मैं jinja2Jinja2 टेम्पलेट जारी बयान
{% for num in range(0,10) %}
{% if num%2 == 0 %}
{% print num %}
{% else %}
{% continue %}
{% endif %}
साथ फ्लास्क में एक for-loop
अंदर एक सरल continue
कोशिश कर रहा हूँ रेंडर करने के लिए विफल हो रहा है और मैं इस त्रुटि
TemplateSyntaxError: Encountered unknown tag 'continue'. Jinja was looking for the following tags: 'endif'. The innermost block that needs to be closed is 'if'.
यहाँ मिल jinja2 प्रलेखन जो मैंने पीछा किया ... http://jinja.pocoo.org/docs/templates/#loop-controls