This is the code for a Django template tag I adapted (also posted here). It was based on this snippet, adapted to split a list into n number of sublists, e.g. split a list of results into three evenly-divided sublists to enable display of the results in three columns on one page with CSS.
-
Home
-
Herself
opinionated lady
media geek
librarian
computer geek
Categories
- code snippets
- django
- dreamhost
- ezmlm
- geekiness
- gentoo
- geocoding
- google maps
- how-to
- javascript
- json
- links
- linux
- mapping
- media
- misc
- mysql
- open office
- pear
- php
- politics
- programming
- public information
- public service
- python
- qmail
- quotes
- rant
- sql
- symfony
- tips & tricks
- vpopmail
- web design
- work
- wtf is happening to my country?!
Archives
work
-
RSS Links
-
Meta
