From d2394e47e6baed4f878103477862d1bcc27b816a Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 24 May 2021 12:58:39 +0300 Subject: UI fixes --- servo/models/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servo/models') 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" -- cgit v1.2.3