Add filter_choices helper function.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 10 Feb 2009 18:48:05 +0000 (19:48 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 10 Feb 2009 18:48:05 +0000 (19:48 +0100)
commit381c81a8ffac8c4b3abf6a762d031a7e261e8eaa
treef4a41251a55ece4b1a4ef1414e48269bc371c8bd
parentdad2574dc3f0cc1d114a85ac44ef440b5baeeaa8
Add filter_choices helper function.

This function allows to easily filter choices for model fields, without
duplicating descriptions.
tools/misc.py