djangosnippets.org: Latest snippets posted by elgreengeetohttp://djangosnippets.org/users/elgreengeeto/2008-12-01T23:55:27.509112-06:00elgreengeetotable with n items per row using custom modulo tag
2008-12-01T23:55:27.509112-06:00elgreengeetohttp://djangosnippets.org/snippets/1229/<p>As a quick, simple way to take a list of items make a table with n items per row I added a custom template filter for modulo of an integer.</p>
<p>To make the custom filter first create a "templatetags" directory in your application folder then add an empty file called …</p>
Freely redistributable