On 21 Nov 2005, at 21:25, Kevin wrote:
I've found the following filter efficient and preferrable and I'd like
to recommend adding it to the django core templates since it's a very
common problem:
Basically, you just add the filter inside a {% for %} tag. eg:
<TABLE>
{% for row in articles.get_list|tabularize: 3 %}
I like the filter, but I'm not 100% on the name. What it's doing is
useful for creating tables but could have other uses as well, so a
less specific name would be better. How about splitlist or splitlists ?
Cheers,
Simon