Commit 98438857 authored by Michal Čihař's avatar Michal Čihař

Add unicode method

parent 0f8ccce2
......@@ -268,6 +268,12 @@ class VerifiedEmail(models.Model):
social = models.ForeignKey(UserSocialAuth)
email = models.EmailField()
def __unicode__(self):
return u'{0} - {1}'.format(
self.social.user.username,
self.email
)
class ProfileManager(models.Manager):
'''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment