id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 6187 FOR with filters, like slice, would be oh so nice Rob Hudson nobody "This would be handy to be able to do: {{{ {% for item in item_list|slice:""1:"" %} ... {% endfor %} }}} I think it would require the for template tag to be pre-processed through whatever filter prior to iteration, correct? The use case I was just working against was that I wanted to treat the first item in the list differently without having for loop logic. For example, something along these lines: {{{

{{ item_list.0.title }}

{{ item_list.0.body }}

Other items

}}} I realize maybe the example might be contrived, but for those filters that return a list (slice, make_list, others?) it also seems like a valid use that could come in handy." closed Template system dev worksforme treborhudson@… Unreviewed 0 0 0 0 0 0