def get_type(self): return [i[1] for i in Item._meta.get_field('type').choices if i[0] == self.type][0]