Add list_or_value template filter.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 13 Jan 2009 19:01:09 +0000 (20:01 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 13 Jan 2009 19:01:09 +0000 (20:01 +0100)
commit78f556d0489510dc4b4cbcdb1980d2d2e7343b44
tree81d37821a9b17b590bc2c08378ee1c3b6b65daa3
parentc2d741584e4bc6924ef74cd26db0ba9ec29ae130
Add list_or_value template filter.

This filter allows one to build an unordered list from lists with more
than one element or a simple string otherwise.
tools/templatetags/list.py [new file with mode: 0644]