Skip to content
Browse files

Pequena melhoria no retorno do nome dos objetos Members no admin

  • Loading branch information...
1 parent 7a03472 commit 00a5ea2e8d02a02a9ad5c066ddb6b62db5e43df1 @fmondaini fmondaini committed Dec 11, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 app/members/models.py
View
3 app/members/models.py
@@ -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.
Something went wrong with that request. Please try again.