Skip to content

Commit

Permalink
Pequena melhoria no retorno do nome dos objetos Members no admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Mondaini committed Dec 11, 2012
1 parent 7a03472 commit 00a5ea2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/members/models.py
Expand Up @@ -86,3 +86,6 @@ def get_payment_check_list(self):
payment_valid = True
days_left = dif.days
return {'expired': not payment_valid, 'days_left': days_left, 'last_date': None}

def __unicode__(self):
return self.user.get_full_name()

0 comments on commit 00a5ea2

Please sign in to comment.