qq263020776 -5 Newbie Poster

now i have a finished template which wrote by j2ee,like this:

    <#list  dailyStarList as dailyS>
           <li <#if (dailyS_index % 2) ==
0>class="list_color_w"<#else>class="list_color"</#if>><h2><#list
chatAvatarList as cal>
                            <#if dailyS.avatarid == cal.id>
                                    ${(cal.name[0..1])!''}之星
                                    <#break>
                            </#if>
                    </#list></h2><h3><#if (dailyMemberList)??>
                    <#list  dailyMemberList as dm>
                            <#if dailyS.idx == dm.idx>
                                    ${(dm.myname)!''}
                                    <#break>
                            </#if>
                    </#list>
            </#if></h3><h4>${(dailyS.dailyNum)?c!''}</h4></li>
           </#list>

And Now i want to changeit,write by django,anyone know how to achieve
the "<#break>"
in this tenplate
thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.