summaryrefslogtreecommitdiffstats
path: root/main/utils.py
blob: c258c115f0b9c4225698540d1aa449479b69f2c0 (plain)
1
2
#utility to make a pair of django choices
make_choice = lambda l: [(str(m), str(m)) for m in l]