diff options
author | bott <mhpoin@gmail.com> | 2018-09-21 02:09:59 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-09-21 13:42:56 +0200 |
commit | 94bb47a78d32c5a5162ce5475b8a4c310940fef2 (patch) | |
tree | 2a221067faf5b32e060582a5522ef3b2bd5c17ad /testing/templates/for-range.html | |
parent | ba91884d762bcf0b4a5bd9ca18d14be240570316 (diff) | |
download | askama-94bb47a78d32c5a5162ce5475b8a4c310940fef2.tar.gz askama-94bb47a78d32c5a5162ce5475b8a4c310940fef2.tar.bz2 askama-94bb47a78d32c5a5162ce5475b8a4c310940fef2.zip |
fix panicked on range-based for loop
Diffstat (limited to '')
-rw-r--r-- | testing/templates/for-range.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/templates/for-range.html b/testing/templates/for-range.html new file mode 100644 index 0000000..9b109bb --- /dev/null +++ b/testing/templates/for-range.html @@ -0,0 +1,15 @@ +{% for s in 0..2 -%} + foo +{% endfor -%} + +{% for s in init..1 -%} + bar +{% endfor -%} + +{% for s in 0..end -%} + foo +{% endfor -%} + +{% for s in init..end -%} + bar +{% endfor -%} |