Skip to content

Commit

Permalink
Get back the necessary abstract method.
Browse files Browse the repository at this point in the history
JIRA: PDC-1051
  • Loading branch information
simozhan committed Nov 30, 2015
1 parent 38e2dc2 commit 8dc5295
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pdc/apps/auth/models.py
Expand Up @@ -65,6 +65,18 @@ class Meta:
verbose_name = _('user')
verbose_name_plural = _('users')

def get_full_name(self):
"""
Returns the full name for the user.
"""
return self.full_name

def get_short_name(self):
"""
Returns full name as short name for the user.
"""
return self.full_name

def email_user(self, subject, message, from_email=None, **kwargs):
"""
Sends an email to this User.
Expand Down

0 comments on commit 8dc5295

Please sign in to comment.