Add a remove_item template filter.
authorMatthijs Kooijman <matthijs@stdin.nl>
Fri, 16 Jan 2009 21:15:56 +0000 (22:15 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Fri, 16 Jan 2009 21:15:56 +0000 (22:15 +0100)
commit06b512bb8370c00e2f5f28096ec0d6e7d591a989
treea04a1fdfcc81b229316b60eddd07727e96aaa668
parent9ecac37e9e50fd79115b325cfb37b0da1cd20520
Add a remove_item template filter.

The filter can be used to remove items from lists or dicts.
tools/templatetags/misc.py [new file with mode: 0644]