aboutsummaryrefslogtreecommitdiffstats
path: root/servo/models/account.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-05-24 12:58:39 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-05-24 12:58:39 +0300
commitd2394e47e6baed4f878103477862d1bcc27b816a (patch)
tree73a74876a08142ab7bcc5d081e39970db612a836 /servo/models/account.py
parent9d8488a0fb4c6834223e8daa3dc384665b97f982 (diff)
downloadServo-d2394e47e6baed4f878103477862d1bcc27b816a.tar.gz
Servo-d2394e47e6baed4f878103477862d1bcc27b816a.tar.bz2
Servo-d2394e47e6baed4f878103477862d1bcc27b816a.zip
UI fixes
Diffstat (limited to 'servo/models/account.py')
-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"