djangosnippets.org: Latest snippets posted by aquagnuhttp://djangosnippets.org/users/aquagnu/2008-02-23T03:43:28.124494-06:00aquagnuReshape list for table, flatten index in nested loops
2008-02-23T03:43:28.124494-06:00aquagnuhttp://djangosnippets.org/snippets/613/<p>Sometimes we want to render items as cells in table with fixed row-count and computable col-count shape and vice versa. It's not difficult to do it with compute odd and even row, col index, but more common way is to use some reshape function. Theare are simple TAG for it: …</p>
Freely redistributable