diff options
Diffstat (limited to 'servo/models/account.py')
-rw-r--r-- | servo/models/account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/models/account.py b/servo/models/account.py index b86c877..f72555b 100644 --- a/servo/models/account.py +++ b/servo/models/account.py @@ -259,7 +259,7 @@ class User(AbstractUser): def get_admin_url(self): return reverse('admin-edit_user', args=[self.pk]) - def __unicode__(self): + def __str__(self): return self.get_name() or self.username class Meta: |