Changes between Initial Version and Version 1 of Ticket #9070
- Timestamp:
- Sep 16, 2008, 12:54:47 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9070 – Description
initial v1 1 1 Ive tried the columnize tag (http://code.djangoproject.com/wiki/ColumnizeTag) in my template. Everything works if I use it in one template file: 2 2 3 {{{ 3 4 #mytemplate.html 4 5 … … 9 10 {%endcolumnize%} 10 11 {% endfor %} 12 }}} 11 13 12 14 But the problem is when I put the stuff in the {%for%}-loop in an external template file like this: 13 15 16 {{{ 14 17 #myinternalloop.html 15 18 {% load columnize %} … … 23 26 {% include "myinternalloop.html" %} 24 27 {% endfor %} 28 }}} 25 29 26 Ive tried to debug and it seems that "parse_until" seems to lose {%endcolumnize%} and this results in that columnize will never start again when traversing a new item. It will continue there where it stops on the previous item. (__init__.py of ColumnizeNode will not be called) 27 30 I've tried to debug and it seems that "parse_until" seems to lose {% endcolumnize %} and this results in that columnize will never start again when traversing a new item. It will continue there where it stops on the previous item. (__init__.py of ColumnizeNode will not be called)