Thank you, this was the most beautiful solution. I post it here, in case if someone will search it:
class Msg(models.Model): ...... ...... ...... status = models.IntegerField(choices=MSG_STATUS_LIST) def getStatus(self): return MSG_STATUS_LIST[self.status][1] in template: {{m.getStatus}} --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---