aboutsummaryrefslogtreecommitdiffstats
path: root/servo/models
diff options
context:
space:
mode:
Diffstat (limited to 'servo/models')
-rw-r--r--servo/models/account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/models/account.py b/servo/models/account.py
index 864535c..2641e81 100644
--- a/servo/models/account.py
+++ b/servo/models/account.py
@@ -263,7 +263,7 @@ class User(AbstractUser):
return reverse('admin-edit_user', args=[self.pk])
def __str__(self):
- return self.get_name() or self.username
+ return self.get_name()
class Meta:
app_label = "servo"