potch/zamboni — comment on commit db3156b5d03d835479fdbf5553db77503b358e9e
File: apps/zadmin/models.py line 308
By cvan:

I would totally just make a property:

def type_pretty(self):
return amo.SITE_EVENT_CHOICES[self.type]

that way you wouldn't need to do this lookup in several different places.