Hash :
f2467488
Author :
Date :
2019-03-10T18:53:08
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
{% for value in values recursive %}
{% if loop.previtem is defined and value > loop.previtem %}
The value just increased!
{% endif %}
{{ value }}
{% if loop.nextitem is defined and loop.nextitem > value %}
The value will increase even more!
{% endif %}
{% endfor %}
{% for user in users if not user.hidden %}
----------------------------------------------------
[
["django", [
["delimiter", "{%"],
["tag", "for"],
["variable", "value"],
["keyword", "in"],
["variable", "values"],
["keyword", "recursive"],
["delimiter", "%}"]
]],
["django", [
["delimiter", "{%"],
["tag", "if"],
["keyword", "loop"],
["punctuation", "."],
["variable", "previtem"],
["keyword", "is"],
["test", "defined"],
["keyword", "and"],
["variable", "value"],
["operator", ">"],
["keyword", "loop"],
["punctuation", "."],
["variable", "previtem"],
["delimiter", "%}"]
]],
"\r\n The value just increased!\r\n ",
["django", [
["delimiter", "{%"],
["tag", "endif"],
["delimiter", "%}"]
]],
["django", [
["delimiter", "{{"],
["variable", "value"],
["delimiter", "}}"]
]],
["django", [
["delimiter", "{%"],
["tag", "if"],
["keyword", "loop"],
["punctuation", "."],
["variable", "nextitem"],
["keyword", "is"],
["test", "defined"],
["keyword", "and"],
["keyword", "loop"],
["punctuation", "."],
["variable", "nextitem"],
["operator", ">"],
["variable", "value"],
["delimiter", "%}"]
]],
"\r\n The value will increase even more!\r\n ",
["django", [
["delimiter", "{%"],
["tag", "endif"],
["delimiter", "%}"]
]],
["django", [
["delimiter", "{%"],
["tag", "endfor"],
["delimiter", "%}"]
]],
["django", [
["delimiter", "{%"],
["tag", "for"],
["variable", "user"],
["keyword", "in"],
["variable", "users"],
["keyword", "if"],
["keyword", "not"],
["variable", "user"],
["punctuation", "."],
["variable", "hidden"],
["delimiter", "%}"]
]]
]
----------------------------------------------------
Checks for for-loop related features.