diff --git a/fiesta/apps/accounts/models/user.py b/fiesta/apps/accounts/models/user.py index 64888295..a76e17a1 100644 --- a/fiesta/apps/accounts/models/user.py +++ b/fiesta/apps/accounts/models/user.py @@ -43,7 +43,7 @@ def full_name(self): @property def full_name_official(self): - return f"{self.last_name} {self.first_name}".strip() + return f"{self.last_name} {self.first_name}".strip() or self.username class Meta(AbstractUser.Meta): verbose_name = _("user")